diff options
Diffstat (limited to 'package/iftop')
-rw-r--r-- | package/iftop/Config.in | 14 | ||||
-rw-r--r-- | package/iftop/Makefile | 9 |
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 |