imgtec-ci20: genimage config/ u-boot env
[openadk.git] / package / iftop / Makefile
blobea962c5ce94dc8d29adf655de6b39fb61433ec47
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
6 PKG_NAME:= iftop
7 PKG_VERSION:= 0.17
8 PKG_RELEASE:= 1
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
14 PKG_NEEDS:= threads
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
26 iftop-install:
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