void-packages/srcpkgs/openconnect/template

27 lines
905 B
Bash

# Template file for 'openconnect'
pkgname=openconnect
version=9.01
revision=1
build_style=gnu-configure
configure_args="--with-vpnc-script=/usr/libexec/vpnc-scripts/vpnc-script"
hostmakedepends="gettext pkg-config"
makedepends="gnutls-devel libxml2-devel zlib-devel liblz4-devel
libproxy-devel mit-krb5-devel pcsclite-devel"
depends="vpnc-scripts"
short_desc="Free client for Cisco AnyConnect SSL VPN software"
maintainer="Orphaned <orphan@voidlinux.org>"
license="LGPL-2.1-only"
homepage="http://www.infradead.org/openconnect/"
distfiles="ftp://ftp.infradead.org/pub/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=b3d7faf830e9793299d6a41e81d84cd4a3e2789c148c9e598e4585010090e4c7
openconnect-devel_package() {
short_desc+=" - development files"
depends="${makedepends} ${sourcepkg}>=${version}_${revision}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.so"
vmove usr/lib/pkgconfig
}
}