blob: 72c98683fdebe0bd397b3203b77ee65b382dca76 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# This file is part of the OpenADK project. OpenADK is copyrighted
# material, please see the LICENCE file in the top-level directory.
include ${ADK_TOPDIR}/rules.mk
PKG_NAME:= vpnc
PKG_VERSION:= 0.5.3
PKG_RELEASE:= 2
PKG_HASH:= 46cea3bd02f207c62c7c6f2f22133382602baeda1dc320747809e94881414884
PKG_DESCR:= client for cisco3000 vpn concentrator
PKG_SECTION:= net/security
PKG_DEPENDS:= libgcrypt libgpg-error
PKG_BUILDDEP:= libgcrypt libgpg-error
PKG_KDEPENDS:= tun
PKG_URL:= http://www.unix-ag.uni-kl.de/~massar/vpnc/
PKG_SITES:= http://www.unix-ag.uni-kl.de/~massar/vpnc/
DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
include ${ADK_TOPDIR}/mk/package.mk
$(eval $(call PKG_template,VPNC,vpnc,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
CONFIG_STYLE:= manual
TARGET_CPPFLAGS+= -D_GNU_SOURCE
XAKE_FLAGS+= CC="${TARGET_CC}" \
OFLAGS="${TARGET_CFLAGS}" \
OS="Linux" \
PREFIX=/usr
vpnc-install:
${CP} ${WRKINST}/* ${IDIR_VPNC}/
${CP} files/vpnc-route ${IDIR_VPNC}/etc/vpnc/
${CP} files/vpnc-script ${IDIR_VPNC}/etc/vpnc/
${CP} files/vpnc.conf ${IDIR_VPNC}/etc/vpnc/
include ${ADK_TOPDIR}/mk/pkg-bottom.mk
|