New package: bwm-ng
authorKelvin Cheung <keguang.zhang@gmail.com>
Thu, 21 Apr 2011 02:29:27 +0000 (10:29 +0800)
committerPeter Korsgaard <jacmet@sunsite.dk>
Thu, 21 Apr 2011 09:52:33 +0000 (11:52 +0200)
Add new package: bwm-ng

Bandwidth Monitor NG is a small and console-based live network and
disk-io bandwidth monitor for Linux, BSD, Solaris, Mac OS X and others.

[Peter: move to net, fix Config.in line length, remove unused make var]
Signed-off-by: Kelvin Cheung <keguang.zhang@gmail.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
package/Config.in
package/bwm-ng/Config.in [new file with mode: 0644]
package/bwm-ng/bwm-ng.mk [new file with mode: 0644]

index ce39edd6991980c1540de9163bb09bcaf631a873..76b20769ecff68f1c6426c3559c87b973f807464 100644 (file)
@@ -373,6 +373,7 @@ endif
 source "package/bind/Config.in"
 source "package/bmon/Config.in"
 source "package/bridge-utils/Config.in"
+source "package/bwm-ng/Config.in"
 source "package/can-utils/Config.in"
 source "package/ctorrent/Config.in"
 source "package/cups/Config.in"
diff --git a/package/bwm-ng/Config.in b/package/bwm-ng/Config.in
new file mode 100644 (file)
index 0000000..25e7cbe
--- /dev/null
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_BWM_NG
+       bool "bwm-ng"
+       help
+         Bandwidth Monitor NG is a small and console-based live
+         network and disk-io bandwidth monitor for Linux, BSD,
+         Solaris, Mac OS X and others.
+
+         http://sourceforge.net/projects/bwmng/
diff --git a/package/bwm-ng/bwm-ng.mk b/package/bwm-ng/bwm-ng.mk
new file mode 100644 (file)
index 0000000..a33f4f2
--- /dev/null
@@ -0,0 +1,16 @@
+#############################################################
+#
+# bwm-ng
+#
+#############################################################
+
+BWM_NG_VERSION = 0.6
+BWM_NG_SITE = http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/project/bwmng/bwmng/$(BWM_NG_VERSION)/
+BWM_NG_CONF_OPT = --with-procnetdev --with-diskstats
+
+ifeq ($(BR2_PACKAGE_NCURSES),y)
+BWM_NG_CONF_OPT += --with-ncurses
+BWM_NG_DEPENDENCIES += ncurses
+endif
+
+$(eval $(call AUTOTARGETS,package,bwm-ng))