1
0

Makefile 854 B

123456789101112131415161718192021222324252627282930
  1. # $Id$
  2. #-
  3. # This file is part of the OpenADK project. OpenADK is copyrighted
  4. # material, please see the LICENCE file in the top-level directory.
  5. include ${TOPDIR}/rules.mk
  6. PKG_NAME:= portsentry
  7. PKG_VERSION:= 1.2
  8. PKG_RELEASE:= 1
  9. PKG_MD5SUM:= 3ebd3618ba9abfea2525e236bd44cebd
  10. MASTER_SITES:= ${MASTER_SITE_SOURCEFORGE:=sentrytools/}
  11. WRKDIST= ${WRKDIR}/${PKG_NAME}_beta
  12. include ${TOPDIR}/mk/package.mk
  13. $(eval $(call PKG_template,PORTSENTRY,portsentry,${PKG_VERSION}-${PKG_RELEASE}))
  14. BUILD_STYLE:= auto
  15. ALL_TARGET:= linux
  16. MAKE_FLAGS+= CC="${TARGET_CC}" CFLAGS="${TCFLAGS}"
  17. do-install:
  18. ${INSTALL_DIR} ${IDIR_PORTSENTRY}/usr/bin \
  19. ${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