Makefile 889 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:= trafshow
  5. PKG_VERSION:= 5.2.3
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 0b2f0bb23b7832138b7d841437b9e182
  8. PKG_DESCR:= traffic analyzing tool
  9. PKG_SECTION:= net
  10. PKG_BUILDDEP:= libpcap ncurses
  11. PKG_DEPENDS:= libpcap libncurses libpthread
  12. PKG_SITES:= http://openadk.org/distfiles
  13. PKG_NOPARALLEL:= 1
  14. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tgz
  15. include ${TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,TRAFSHOW,trafshow,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. TARGET_CPPFLAGS+= -DHAVE_SOCKADDR_STORAGE -DHAVE_HAS_COLORS
  18. trafshow-install:
  19. ${INSTALL_DIR} ${IDIR_TRAFSHOW}/usr/bin
  20. ${INSTALL_BIN} ${WRKINST}/usr/bin/trafshow ${IDIR_TRAFSHOW}/usr/bin/
  21. include ${TOPDIR}/mk/pkg-bottom.mk