Makefile 926 B

1234567891011121314151617181920212223242526272829
  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_MD5SUM:= 062bc8fb3856580319857326e0b8752d
  8. PKG_DESCR:= display bandwith usage on an interface
  9. PKG_SECTION:= net/perf
  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. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  15. include ${ADK_TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,IFTOP,iftop,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. TARGET_LDFLAGS+= -ltinfo
  18. iftop-install:
  19. ${INSTALL_DIR} ${IDIR_IFTOP}/usr/bin
  20. ${INSTALL_BIN} ${WRKINST}/usr/sbin/iftop ${IDIR_IFTOP}/usr/bin/
  21. include ${ADK_TOPDIR}/mk/pkg-bottom.mk