1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
9 PKG_HASH
:= d032547c708307159ff5fd0df23ebd3cfa7799c31536fa0aea1820318a8e0eac
10 PKG_DESCR
:= display bandwith usage on an interface
11 PKG_SECTION
:= net
/perf
12 PKG_DEPENDS
:= libncurses libpcap
13 PKG_BUILDDEP
:= libpcap ncurses
15 PKG_URL
:= http
://www.ex-parrot.com
/~pdw
/iftop
/
16 PKG_SITES
:= http
://www.ex-parrot.com
/~pdw
/iftop
/download
/
18 DISTFILES
:= ${PKG_NAME}-${PKG_VERSION}.
tar.gz
20 include ${ADK_TOPDIR}/mk
/package.mk
22 $(eval
$(call PKG_template
,IFTOP
,iftop
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
24 TARGET_LDFLAGS
+= -ltinfo
27 ${INSTALL_DIR} ${IDIR_IFTOP}/usr
/bin
28 ${INSTALL_BIN} ${WRKINST}/usr
/sbin
/iftop
${IDIR_IFTOP}/usr
/bin
/
30 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk