gcc: add old versions
[openadk.git] / package / vpnc / Makefile
blob72c98683fdebe0bd397b3203b77ee65b382dca76
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
6 PKG_NAME:= vpnc
7 PKG_VERSION:= 0.5.3
8 PKG_RELEASE:= 2
9 PKG_HASH:= 46cea3bd02f207c62c7c6f2f22133382602baeda1dc320747809e94881414884
10 PKG_DESCR:= client for cisco3000 vpn concentrator
11 PKG_SECTION:= net/security
12 PKG_DEPENDS:= libgcrypt libgpg-error
13 PKG_BUILDDEP:= libgcrypt libgpg-error
14 PKG_KDEPENDS:= tun
15 PKG_URL:= http://www.unix-ag.uni-kl.de/~massar/vpnc/
16 PKG_SITES:= http://www.unix-ag.uni-kl.de/~massar/vpnc/
18 DISTFILES:= ${PKG_NAME}-${PKG_VERSION}.tar.gz
20 include ${ADK_TOPDIR}/mk/package.mk
22 $(eval $(call PKG_template,VPNC,vpnc,${PKG_VERSION}-${PKG_RELEASE},${PKG_DEPENDS},${PKG_DESCR},${PKG_SECTION}))
24 CONFIG_STYLE:= manual
25 TARGET_CPPFLAGS+= -D_GNU_SOURCE
26 XAKE_FLAGS+= CC="${TARGET_CC}" \
27 OFLAGS="${TARGET_CFLAGS}" \
28 OS="Linux" \
29 PREFIX=/usr
31 vpnc-install:
32 ${CP} ${WRKINST}/* ${IDIR_VPNC}/
33 ${CP} files/vpnc-route ${IDIR_VPNC}/etc/vpnc/
34 ${CP} files/vpnc-script ${IDIR_VPNC}/etc/vpnc/
35 ${CP} files/vpnc.conf ${IDIR_VPNC}/etc/vpnc/
37 include ${ADK_TOPDIR}/mk/pkg-bottom.mk