31 lines
892 B
Bash
31 lines
892 B
Bash
# Template file for 'openconnect'
|
|
pkgname=openconnect
|
|
version=7.06
|
|
revision=3
|
|
build_style=gnu-configure
|
|
configure_args="--sbindir=/usr/bin
|
|
--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=facf695368dc4537a6a30e2147be90b1d77ee3cb2d269eaef070b6d9ddab70f2
|
|
|
|
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
|
|
}
|
|
}
|