void-packages/srcpkgs/openconnect/template

30 lines
873 B
Bash
Raw Normal View History

2014-09-03 06:21:18 +00:00
# Template file for 'openconnect'
pkgname=openconnect
2015-03-19 07:17:50 +00:00
version=7.06
2015-03-11 06:52:42 +00:00
revision=1
2014-09-03 06:21:18 +00:00
build_style=gnu-configure
configure_args="--with-vpnc-script=/usr/libexec/vpnc-scripts/vpnc-script"
hostmakedepends="pkg-config"
makedepends="libressl-devel libxml2-devel zlib-devel"
2014-09-03 06:21:18 +00:00
depends="vpnc-scripts"
short_desc="Free client for Cisco AnyConnect SSL VPN software"
maintainer="Eivind Uggedal <eivind@uggedal.com>"
license="LGPL-2.1"
homepage="http://www.infradead.org/openconnect/"
distfiles="ftp://ftp.infradead.org/pub/${pkgname}/${pkgname}-${version}.tar.gz"
2015-03-19 07:17:50 +00:00
checksum=facf695368dc4537a6a30e2147be90b1d77ee3cb2d269eaef070b6d9ddab70f2
2014-09-03 06:21:18 +00:00
post_install() {
rm -f ${DESTDIR}/usr/lib/*.la
}
openconnect-devel_package() {
short_desc+=" - development files"
depends="${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove usr/lib/*.so
vmove usr/lib/pkgconfig
}
}