summaryrefslogtreecommitdiffstats
path: root/package/bwm-ng
diff options
context:
space:
mode:
authorKelvin Cheung <keguang.zhang@gmail.com>2011-04-21 10:29:27 +0800
committerPeter Korsgaard <jacmet@sunsite.dk>2011-04-21 11:52:33 +0200
commitc5aee2a346d27ab8197ab3f7fb37e1b18a9868d1 (patch)
tree930f14e3dc6965c5693740319f23755d130b5eb0 /package/bwm-ng
parent36449d1f2aaf67cf377d0b7eb49840b10cbec903 (diff)
downloadbuildroot-novena-c5aee2a346d27ab8197ab3f7fb37e1b18a9868d1.tar.gz
buildroot-novena-c5aee2a346d27ab8197ab3f7fb37e1b18a9868d1.zip
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>
Diffstat (limited to 'package/bwm-ng')
-rw-r--r--package/bwm-ng/Config.in8
-rw-r--r--package/bwm-ng/bwm-ng.mk16
2 files changed, 24 insertions, 0 deletions
diff --git a/package/bwm-ng/Config.in b/package/bwm-ng/Config.in
new file mode 100644
index 000000000..25e7cbe8f
--- /dev/null
+++ b/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/
diff --git a/package/bwm-ng/bwm-ng.mk b/package/bwm-ng/bwm-ng.mk
new file mode 100644
index 000000000..a33f4f211
--- /dev/null
+++ b/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))