2
1
Эх сурвалжийг харах

New package: bwm-ng

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>
Kelvin Cheung 14 жил өмнө
parent
commit
c5aee2a346

+ 1 - 0
package/Config.in

@@ -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"

+ 8 - 0
package/bwm-ng/Config.in

@@ -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/

+ 16 - 0
package/bwm-ng/bwm-ng.mk

@@ -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))