1
0

Makefile 950 B

1234567891011121314151617181920212223242526272829
  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/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. include ${TOPDIR}/mk/package.mk
  15. $(eval $(call PKG_template,TINC,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  16. CONFIGURE_ARGS+= --with-kernel=${LINUX_DIR} \
  17. --with-zlib=${STAGING_TARGET_DIR}/usr/ \
  18. --with-lzo-include=${STAGING_TARGET_DIR}/usr/include/lzo
  19. post-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