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
:= abf8df6b15e3febeaaeae2ce24ead7105eb1537ad4ec0d830c83cbb684fd98b9
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_SITES
:= ${MASTER_SITE_SOURCEFORGE
:=vtun
/}
17 DISTFILES
:= ${PKG_NAME}-${PKG_VERSION}.
tar.gz
19 PKG_HOST_DEPENDS
:= !freebsd
21 include ${ADK_TOPDIR}/mk
/package.mk
23 $(eval
$(call PKG_template
,VTUN
,vtun
,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
25 INSTALL_STYLE
:= manual
27 CONFIGURE_ARGS
+= --with-ssl-headers
=$(STAGING_TARGET_DIR
)/usr
/include/openssl \
32 ${INSTALL_DIR} ${IDIR_VTUN}/usr
/sbin
${IDIR_VTUN}/etc
33 ${INSTALL_DATA} ${WRKBUILD}/vtund.conf
${IDIR_VTUN}/etc
/
34 ${INSTALL_BIN} ${WRKBUILD}/vtund
${IDIR_VTUN}/usr
/sbin
/
36 include ${ADK_TOPDIR}/mk
/pkg-bottom.mk