Makefile 861 B

123456789101112131415161718192021222324252627
  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 ${TOPDIR}/rules.mk
  4. PKG_NAME:= iftop
  5. PKG_VERSION:= 0.17
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 062bc8fb3856580319857326e0b8752d
  8. PKG_DESCR:= display bandwith usage on an interface
  9. PKG_SECTION:= net
  10. PKG_DEPENDS:= libncurses libpcap libpthread
  11. PKG_BUILDDEP:= libpcap libpthread ncurses
  12. PKG_URL:= http://www.ex-parrot.com/~pdw/iftop/
  13. PKG_SITES:= http://www.ex-parrot.com/~pdw/iftop/download/
  14. include ${TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,IFTOP,iftop,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. TARGET_LDFLAGS+= -ltinfo
  17. iftop-install:
  18. ${INSTALL_DIR} ${IDIR_IFTOP}/usr/bin
  19. ${INSTALL_BIN} ${WRKINST}/usr/sbin/iftop ${IDIR_IFTOP}/usr/bin/
  20. include ${TOPDIR}/mk/pkg-bottom.mk