1
0

Makefile 830 B

12345678910111213141516171819202122232425262728
  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_SITES:= http://www.sfr-fresh.com/linux/misc/
  11. PKG_NOPARALLEL:= 1
  12. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tgz
  13. include ${TOPDIR}/mk/package.mk
  14. $(eval $(call PKG_template,TRAFSHOW,trafshow,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. TCFLAGS+= -DHAVE_SOCKADDR_STORAGE -DHAVE_HAS_COLORS
  16. TLDFLAGS+= -pthread
  17. post-install:
  18. ${INSTALL_DIR} ${IDIR_TRAFSHOW}/usr/bin
  19. ${INSTALL_BIN} ${WRKINST}/usr/bin/trafshow ${IDIR_TRAFSHOW}/usr/bin/
  20. include ${TOPDIR}/mk/pkg-bottom.mk