Makefile 955 B

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