1
0

Makefile 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  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/security
  10. PKG_URL:= http://sourceforge.net/projects/sentrytools
  11. PKG_SITES:= ${MASTER_SITE_SOURCEFORGE:=sentrytools/}
  12. PKG_LIBC_DEPENDS:= uclibc glibc
  13. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  14. WRKDIST= ${WRKDIR}/${PKG_NAME}_beta
  15. include ${TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,PORTSENTRY,portsentry,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. CONFIG_STYLE:= manual
  18. INSTALL_STYLE:= manual
  19. ALL_TARGET:= linux
  20. MAKE_FLAGS+= CC="${TARGET_CC}" CFLAGS="${TARGET_CFLAGS}"
  21. do-install:
  22. ${INSTALL_DIR} ${IDIR_PORTSENTRY}/usr/bin ${IDIR_PORTSENTRY}/etc
  23. ${INSTALL_DATA} ${WRKBUILD}/${PKG_NAME}.conf ${IDIR_PORTSENTRY}/etc/
  24. ${INSTALL_BIN} ${WRKBUILD}/${PKG_NAME} ${IDIR_PORTSENTRY}/usr/bin/
  25. include ${TOPDIR}/mk/pkg-bottom.mk