Makefile 997 B

123456789101112131415161718192021222324252627282930
  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:= portsentry
  5. PKG_VERSION:= 1.2
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 3ebd3618ba9abfea2525e236bd44cebd
  8. PKG_DESCR:= Software for protection against port scans
  9. PKG_SECTION:= net
  10. PKG_URL:= http://sourceforge.net/projects/sentrytools
  11. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=sentrytools/}
  12. WRKDIST= ${WRKDIR}/${PKG_NAME}_beta
  13. include ${TOPDIR}/mk/package.mk
  14. $(eval $(call PKG_template,PORTSENTRY,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  15. BUILD_STYLE:= auto
  16. ALL_TARGET:= linux
  17. MAKE_FLAGS+= CC="${TARGET_CC}" CFLAGS="${TCFLAGS}"
  18. do-install:
  19. ${INSTALL_DIR} ${IDIR_PORTSENTRY}/usr/bin ${IDIR_PORTSENTRY}/etc
  20. ${INSTALL_DATA} ${WRKBUILD}/${PKG_NAME}.conf ${IDIR_PORTSENTRY}/etc/
  21. ${INSTALL_BIN} ${WRKBUILD}/${PKG_NAME} ${IDIR_PORTSENTRY}/usr/bin/
  22. include ${TOPDIR}/mk/pkg-bottom.mk