1
0

Makefile 1.0 KB

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