Makefile 1.0 KB

123456789101112131415161718192021222324252627282930313233
  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.11
  6. PKG_RELEASE:= 1
  7. PKG_MD5SUM:= ee0b1a3366c6e379cae34be6fa5dcb15
  8. PKG_DESCR:= VPN tunnel daemon
  9. PKG_SECTION:= net
  10. PKG_DEPENDS:= zlib liblzo libopenssl kmod-tun
  11. PKG_URL:= http://www.tinc-vpn.org
  12. PKG_SITES:= http://www.tinc-vpn.org/packages/ \
  13. http://ftp.yi.se/pub/tinc/ \
  14. http://www.mirrors.wiretapped.net/security/network-security/tinc/
  15. include ${TOPDIR}/mk/package.mk
  16. $(eval $(call PKG_template,TINC,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  17. CONFIGURE_STYLE:= gnu
  18. CONFIGURE_ARGS+= --with-kernel=${LINUX_DIR} \
  19. --with-zlib=${STAGING_DIR}/usr/ \
  20. --with-lzo-include=${STAGING_DIR}/usr/include/lzo
  21. BUILD_STYLE:= auto
  22. INSTALL_STYLE:= auto
  23. post-install:
  24. ${INSTALL_DIR} ${IDIR_TINC}/usr/sbin
  25. ${INSTALL_BIN} ${WRKINST}/usr/sbin/tincd ${IDIR_TINC}/usr/sbin/
  26. include ${TOPDIR}/mk/pkg-bottom.mk