1 # This file is part of the OpenADK project. OpenADK is copyrighted
2 # material, please see the LICENCE file in the top-level directory.
4 include ${ADK_TOPDIR}/rules.mk
9 PKG_HASH
:= 40f73bb3facc480effe0e771442a706ff0488edea7a5f2505d4ccb2aa8163108
10 PKG_DESCR
:= vpn tunnel daemon
11 PKG_SECTION
:= net
/security
12 PKG_DEPENDS
:= zlib liblzo libressl
13 PKG_BUILDDEP
:= zlib liblzo libressl
15 PKG_URL
:= http
://www.tinc-vpn.org
/
16 PKG_SITES
:= http
://www.tinc-vpn.org
/packages
/
18 DISTFILES
:= ${PKG_NAME}-${PKG_VERSION}.
tar.gz
20 include ${ADK_TOPDIR}/mk
/package.mk
22 $(eval
$(call PKG_template
,TINC
,tinc
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
24 CONFIGURE_ARGS
+= --with-zlib
=${STAGING_TARGET_DIR}/usr
/ \
25 --with-lzo-include
=${STAGING_TARGET_DIR}/usr
/include/lzo
28 ${INSTALL_DIR} ${IDIR_TINC}/usr
/sbin
29 ${INSTALL_BIN} ${WRKINST}/usr
/sbin
/tincd
${IDIR_TINC}/usr
/sbin
/
31 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk