Makefile 895 B

12345678910111213141516171819202122232425262728293031
  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. MASTER_SITES:= http://www.tinc-vpn.org/packages/ \
  11. http://ftp.yi.se/pub/tinc/ \
  12. http://www.mirrors.wiretapped.net/security/network-security/tinc/
  13. include ${TOPDIR}/mk/package.mk
  14. $(eval $(call PKG_template,TINC,tinc,${PKG_VERSION}-${PKG_RELEASE},${ARCH}))
  15. CONFIGURE_STYLE:= gnu
  16. CONFIGURE_ARGS+= --with-kernel=${LINUX_DIR} \
  17. --with-zlib=${STAGING_DIR}/usr/ \
  18. --with-lzo-include=${STAGING_DIR}/usr/include/lzo
  19. BUILD_STYLE:= auto
  20. INSTALL_STYLE:= auto
  21. post-install:
  22. ${INSTALL_DIR} ${IDIR_TINC}/usr/sbin
  23. ${INSTALL_BIN} ${WRKINST}/usr/sbin/tincd ${IDIR_TINC}/usr/sbin/
  24. include ${TOPDIR}/mk/pkg-bottom.mk