void-packages/srcpkgs/openconnect/template

30 lines
880 B
Text
Raw Normal View History

2014-09-03 06:21:18 +00:00
# Template file for 'openconnect'
pkgname=openconnect
2014-12-20 07:29:08 +00:00
version=7.02
revision=2
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>=2.1.2 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"
2014-12-20 07:29:08 +00:00
checksum=083626e6f2a87393dd13f379a222bf27b0d57fe1ca286d5f3731d4a444ee7169
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
}
}