void-packages/srcpkgs/openconnect/template
2015-01-12 09:37:17 +00:00

29 lines
880 B
Text

# Template file for 'openconnect'
pkgname=openconnect
version=7.03
revision=1
build_style=gnu-configure
configure_args="--with-vpnc-script=/usr/libexec/vpnc-scripts/vpnc-script"
hostmakedepends="pkg-config"
makedepends="libressl-devel>=2.1.2 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=6d6ea23e74f3e9a29a38008bb98d7fccbfc572acfb5342b2b7e1f763ac2d6d86
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
}
}