Makefile 1.0 KB

1234567891011121314151617181920212223242526272829303132333435
  1. # $Id$
  2. #-
  3. # This file is part of the OpenADK project. OpenADK is copyrighted
  4. # material, please see the LICENCE file in the top-level directory.
  5. include ${TOPDIR}/rules.mk
  6. PKG_NAME:= tinc
  7. PKG_VERSION:= 1.0.9
  8. PKG_RELEASE:= 1
  9. PKG_MD5SUM:= f907acebada53512e01235bea6b4cdf1
  10. PKG_DESCR:= VPN tunnel daemon
  11. PKG_SECTION:= net
  12. PKG_DEPENDS:= zlib liblzo libopenssl kmod-tun
  13. PKG_URL:= http://www.tinc-vpn.org
  14. PKG_SITES:= http://www.tinc-vpn.org/packages/ \
  15. http://ftp.yi.se/pub/tinc/ \
  16. http://www.mirrors.wiretapped.net/security/network-security/tinc/
  17. include ${TOPDIR}/mk/package.mk
  18. $(eval $(call PKG_template,TINC,${PKG_NAME},${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
  19. CONFIGURE_STYLE:= gnu
  20. CONFIGURE_ARGS+= --with-kernel=${LINUX_DIR} \
  21. --with-zlib=${STAGING_DIR}/usr/ \
  22. --with-lzo-include=${STAGING_DIR}/usr/include/lzo
  23. BUILD_STYLE:= auto
  24. INSTALL_STYLE:= auto
  25. post-install:
  26. ${INSTALL_DIR} ${IDIR_TINC}/usr/sbin
  27. ${INSTALL_BIN} ${WRKINST}/usr/sbin/tincd ${IDIR_TINC}/usr/sbin/
  28. include ${TOPDIR}/mk/pkg-bottom.mk