1
0

Makefile 959 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:= tinc
  5. PKG_VERSION:= 1.0.23
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= 762c0d47bdf1b33a40b19165d9c2761f
  8. PKG_DESCR:= VPN tunnel daemon
  9. PKG_SECTION:= net/security
  10. PKG_DEPENDS:= zlib liblzo libopenssl kmod-tun
  11. PKG_BUILDDEP:= zlib liblzo openssl
  12. PKG_URL:= http://www.tinc-vpn.org/
  13. PKG_SITES:= http://www.tinc-vpn.org/packages/
  14. DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
  15. include ${TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,TINC,tinc,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. CONFIGURE_ARGS+= --with-zlib=${STAGING_TARGET_DIR}/usr/ \
  18. --with-lzo-include=${STAGING_TARGET_DIR}/usr/include/lzo
  19. tinc-install:
  20. ${INSTALL_DIR} ${IDIR_TINC}/usr/sbin
  21. ${INSTALL_BIN} ${WRKINST}/usr/sbin/tincd ${IDIR_TINC}/usr/sbin/
  22. include ${TOPDIR}/mk/pkg-bottom.mk