1
0

Makefile 1.1 KB

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