Makefile 863 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:= 4.0
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 0b2f0bb23b7832138b7d841437b9e182
  8. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tgz
  9. PKG_SITES:= ftp://ftp.nsk.su/pub/RinetSoftware/
  10. WRKDIST= ${WRKDIR}/trafshow-5.2.3
  11. include ${TOPDIR}/mk/package.mk
  12. $(eval $(call PKG_template,TRAFSHOW,trafshow,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  13. TCFLAGS+= -DHAVE_SOCKADDR_STORAGE -DHAVE_HAS_COLORS -I$(STAGING_DIR)/usr/include
  14. TLDFLAGS+= -pthread
  15. CONFIGURE_STYLE= gnu
  16. BUILD_STYLE= auto
  17. ALL_TARGET=
  18. do-install:
  19. ${INSTALL_DIR} ${IDIR_TRAFSHOW}/usr/sbin
  20. ${INSTALL_BIN} ${WRKBUILD}/trafshow ${IDIR_TRAFSHOW}/usr/sbin/
  21. include ${TOPDIR}/mk/pkg-bottom.mk