1
0

Makefile 904 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 ${TOPDIR}/rules.mk
  4. PKG_NAME:= iftop
  5. PKG_VERSION:= 0.17
  6. PKG_RELEASE:= 1
  7. PKG_BUILDDEP+= libpcap libpthread ncurses
  8. PKG_MD5SUM:= 062bc8fb3856580319857326e0b8752d
  9. PKG_DESCR:= display bandwith usage on an interface
  10. PKG_SECTION:= net
  11. PKG_DEPENDS:= libncurses libpcap libpthread
  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. CONFIGURE_STYLE:= gnu
  17. BUILD_STYLE:= auto
  18. INSTALL_STYLE:= auto
  19. post-install:
  20. ${INSTALL_DIR} ${IDIR_IFTOP}/usr/bin
  21. ${INSTALL_BIN} ${WRKINST}/usr/sbin/iftop ${IDIR_IFTOP}/usr/bin/
  22. include ${TOPDIR}/mk/pkg-bottom.mk