cb0f4590e9
commit 1779dabd7d
causes:
vpnc: can't initialise tunnel interface: No such file or directory
32 lines
815 B
Bash
32 lines
815 B
Bash
# Template file for 'vpnc'
|
|
pkgname=vpnc
|
|
version=0.5.3
|
|
revision=5
|
|
hostmakedepends="perl"
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=' vpnc'
|
|
fi
|
|
makedepends="libgcrypt-devel"
|
|
depends="net-tools"
|
|
short_desc="Client for cisco vpn concentrator"
|
|
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
|
license="GPL-2"
|
|
homepage="https://www.unix-ag.uni-kl.de/~massar/vpnc/"
|
|
distfiles="https://www.unix-ag.uni-kl.de/~massar/vpnc/vpnc-$version.tar.gz"
|
|
checksum=46cea3bd02f207c62c7c6f2f22133382602baeda1dc320747809e94881414884
|
|
|
|
conf_files="
|
|
/etc/vpnc/default.conf
|
|
/etc/vpnc/vpnc-script"
|
|
|
|
do_configure() {
|
|
if [ "$CROSS_BUILD" ]; then
|
|
sed -i 's%^my \$vpnc = .*;%my \$vpnc = "/usr/bin/vpnc";%' makeman.pl
|
|
fi
|
|
}
|
|
do_build() {
|
|
make CC=$CC ${makejobs}
|
|
}
|
|
do_install() {
|
|
make PREFIX=/usr SBINDIR=/usr/bin DESTDIR=${DESTDIR} install
|
|
}
|