summaryrefslogtreecommitdiff
path: root/package/iftop
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-04-04 10:34:02 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-04-04 10:34:02 +0200
commit5042ac8e5927d0089d3902b1c37e5bcc1565d053 (patch)
treecd2be3085808c5ac59dd70f9c610c6a40bfe3ffd /package/iftop
parent401dabf66529cfb5ab47b4c78d5e25fd493eef1f (diff)
parent4d569ed1a3305c7b7abe8fa4273cea3b559cc85a (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Conflicts: BUGS package/autoconf/Makefile
Diffstat (limited to 'package/iftop')
-rw-r--r--package/iftop/Config.in14
-rw-r--r--package/iftop/Makefile9
2 files changed, 3 insertions, 20 deletions
diff --git a/package/iftop/Config.in b/package/iftop/Config.in
deleted file mode 100644
index 226032d4c..000000000
--- a/package/iftop/Config.in
+++ /dev/null
@@ -1,14 +0,0 @@
-config ADK_PACKAGE_IFTOP
- prompt "iftop............................. display bandwith usage on an interface"
- tristate
- default n
- select ADK_PACKAGE_LIBPCAP
- select ADK_PACKAGE_LIBNCURSES
- select ADK_PACKAGE_LIBPTHREAD
- help
- iftop does for network usage what top(1) does for CPU usage. It
- listens to network traffic on a named interface and displays a
- table of current bandwidth usage by pairs of hosts. Handy for
- answering the question "why is our ADSL link so slow?".
-
- http://www.ex-parrot.com/~pdw/iftop/
diff --git a/package/iftop/Makefile b/package/iftop/Makefile
index 0a83c3b8e..374cf5410 100644
--- a/package/iftop/Makefile
+++ b/package/iftop/Makefile
@@ -10,6 +10,7 @@ PKG_MD5SUM:= 062bc8fb3856580319857326e0b8752d
PKG_DESCR:= display bandwith usage on an interface
PKG_SECTION:= net
PKG_DEPENDS:= libncurses libpcap libpthread
+PKG_BUILDDEP+= libpcap libpthread ncurses
PKG_URL:= http://www.ex-parrot.com/~pdw/iftop
PKG_SITES:= http://www.ex-parrot.com/~pdw/iftop/download/
@@ -17,12 +18,8 @@ include ${TOPDIR}/mk/package.mk
$(eval $(call PKG_template,IFTOP,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
-CONFIGURE_STYLE= gnu
-BUILD_STYLE= auto
-INSTALL_STYLE= auto
-
-pots-install:
+post-install:
${INSTALL_DIR} ${IDIR_IFTOP}/usr/bin
- ${INSTALL_BIN} ${WRKINST}/usr/sbin/${PKG_NAME} ${IDIR_IFTOP}/usr/bin/
+ ${INSTALL_BIN} ${WRKINST}/usr/sbin/iftop ${IDIR_IFTOP}/usr/bin/
include ${TOPDIR}/mk/pkg-bottom.mk