31 lines
942 B
Bash
31 lines
942 B
Bash
# Template file for 'openconnect'
|
|
pkgname=openconnect
|
|
version=7.07
|
|
revision=2
|
|
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 lz4-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=f3ecfcd487dcd916748db38b4138c1e72c86347d6328b11dfe1d0af2821b8366
|
|
|
|
post_install() {
|
|
rm -f ${DESTDIR}/usr/lib/*.la
|
|
}
|
|
|
|
openconnect-devel_package() {
|
|
short_desc+=" - development files"
|
|
depends="${sourcepkg}>=${version}_${revision} zlib-devel libressl-devel libxml2-devel"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove usr/lib/*.so
|
|
vmove usr/lib/pkgconfig
|
|
}
|
|
}
|