summaryrefslogtreecommitdiff
path: root/homebrew/nload/.beer
diff options
context:
space:
mode:
authorMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-20 20:49:46 -0500
committerMCApollo <34170230+MCApollo@users.noreply.github.com>2019-04-23 20:18:47 -0500
commit12335518ab39608d58370c85ff9f5384ad2aa5f7 (patch)
tree352d81f2a2de3f1252af732080ec0fde38c13b4d /homebrew/nload/.beer
parenta2b26ad12d4fa12f0273645caf4be6d0b8b71e7c (diff)
Ported in the homebrew-marauder for a hacky update/import system.
TODO: Maybe add a license & fix up messy code.
Diffstat (limited to 'homebrew/nload/.beer')
-rw-r--r--homebrew/nload/.beer51
1 files changed, 51 insertions, 0 deletions
diff --git a/homebrew/nload/.beer b/homebrew/nload/.beer
new file mode 100644
index 000000000..ac98988b9
--- /dev/null
+++ b/homebrew/nload/.beer
@@ -0,0 +1,51 @@
+{
+ "name": "Nload",
+ "description": "Realtime console network usage monitor",
+ "url": "http://www.roland-riegel.de/nload/nload-0.7.4.tar.gz",
+ "mirror": null,
+ "homepage": "http://www.roland-riegel.de/nload/",
+ "depends": [
+ {
+ "depend": "autoconf",
+ "build-depend": true
+ },
+ {
+ "depend": "automake",
+ "build-depend": true
+ }
+ ],
+ "resource": [],
+ "conflicts": [],
+ "patches": [
+ {
+ "url": "https://sourceforge.net/p/nload/bugs/_discuss/thread/c9b68d8e/4a65/attachment/devreader-bsd.cpp.patch",
+ "strip": "0"
+ },
+ {
+ "url": null,
+ "data": [
+ "diff --git a/configure.in b/configure.in\n",
+ "index 87ecc88..4df8dc3 100644\n",
+ "--- a/configure.in\n",
+ "+++ b/configure.in\n",
+ "@@ -38,7 +38,7 @@ case $host_os in\n",
+ " \n",
+ " AC_CHECK_FUNCS([memset])\n",
+ " ;;\n",
+ "- *bsd*)\n",
+ "+ *darwin*)\n",
+ " AC_DEFINE(HAVE_BSD, 1, [Define to 1 if your build target is BSD.])\n",
+ " AM_CONDITIONAL(HAVE_BSD, true)\n"
+ ]
+ }
+ ],
+ "install": [
+ "system \"./run_autotools\"",
+ "system \"./configure\", \"--disable-debug\",",
+ "\"--disable-dependency-tracking\",",
+ "\"--prefix=#{prefix}\"",
+ "system \"make\", \"install\", \"LDFLAGS=\""
+ ],
+ "version": "0.7.4",
+ "file": "nload.rb"
+} \ No newline at end of file