34 lines
829 B
Bash
34 lines
829 B
Bash
# Template file for 'vpnc'
|
|
pkgname=vpnc
|
|
version=0.5.3
|
|
revision=6
|
|
hostmakedepends="perl"
|
|
makedepends="libgcrypt-devel"
|
|
depends="net-tools"
|
|
short_desc="Client for cisco vpn concentrator"
|
|
maintainer="Enno Boland <gottox@voidlinux.eu>"
|
|
license="GPL-2.0-or-later"
|
|
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"
|
|
|
|
if [ "$CROSS_BUILD" ]; then
|
|
hostmakedepends+=" vpnc"
|
|
fi
|
|
|
|
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
|
|
}
|