From: keguang.zhang at gmail.com <keguang.zhang@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH] New package: bwm-ng
Date: Tue, 21 Dec 2010 16:55:23 +0800 [thread overview]
Message-ID: <1292921723-3372-1-git-send-email-keguang.zhang@gmail.com> (raw)
From: Kelvin Cheung <keguang.zhang@gmail.com>
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.
Signed-off-by: Kelvin Cheung <keguang.zhang@gmail.com>
---
package/Config.in | 1 +
package/bwm-ng/Config.in | 7 +++++++
package/bwm-ng/bwm-ng.mk | 16 ++++++++++++++++
3 files changed, 24 insertions(+), 0 deletions(-)
create mode 100644 package/bwm-ng/Config.in
create mode 100644 package/bwm-ng/bwm-ng.mk
diff --git a/package/Config.in b/package/Config.in
index d3ae75e..2648062 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -148,6 +148,7 @@ endmenu
menu "Hardware handling"
source "package/acpid/Config.in"
+source "package/bwm-ng/Config.in"
source "package/cdrkit/Config.in"
source "package/cramfs/Config.in"
source "package/dbus/Config.in"
diff --git a/package/bwm-ng/Config.in b/package/bwm-ng/Config.in
new file mode 100644
index 0000000..f2f8b12
--- /dev/null
+++ b/package/bwm-ng/Config.in
@@ -0,0 +1,7 @@
+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 0000000..7fd5b38
--- /dev/null
+++ b/package/bwm-ng/bwm-ng.mk
@@ -0,0 +1,16 @@
+#############################################################
+#
+# bwm-ng
+#
+#############################################################
+BWM_NG_VERSION:=0.6
+BWM_NG:=bwm-ng-$(BWM_NG_VERSION).tar.gz
+BWM_NG_SITE:=http://$(BR2_SOURCEFORGE_MIRROR).dl.sourceforge.net/project/bwmng/bwmng/0.6/
+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))
--
1.7.1
next reply other threads:[~2010-12-21 8:55 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-12-21 8:55 keguang.zhang at gmail.com [this message]
2010-12-21 10:07 ` [Buildroot] [PATCH] New package: bwm-ng Kelvin Cheung
2010-12-21 10:32 ` Belisko Marek
2010-12-21 10:44 ` Thomas Petazzoni
2010-12-21 10:56 ` Kelvin Cheung
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1292921723-3372-1-git-send-email-keguang.zhang@gmail.com \
--to=keguang.zhang@gmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox