Makefile 840 B

12345678910111213141516171819202122232425
  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,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. post-install:
  17. ${INSTALL_DIR} ${IDIR_IFTOP}/usr/bin
  18. ${INSTALL_BIN} ${WRKINST}/usr/sbin/iftop ${IDIR_IFTOP}/usr/bin/
  19. include ${TOPDIR}/mk/pkg-bottom.mk