summaryrefslogtreecommitdiff
path: root/package/iftop/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'package/iftop/Makefile')
-rw-r--r--package/iftop/Makefile9
1 files changed, 3 insertions, 6 deletions
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