void-packages/srcpkgs/openconnect/template
2014-12-08 09:29:56 +00:00

29 lines
873 B
Text

# Template file for 'openconnect'
pkgname=openconnect
version=7.01
revision=1
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"
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"
checksum=b950b93aa8d98b68e0b37d9b851f3c56d1c42b7e40969871a2c3e105e0c37184
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
}
}