1c5f4690e6
That means that version comparators are not supported anymore in hostmakedepends and makedepends. This will ensure that a pkg is always built with the same build dependencies everywhere, if the srcpkgs tree is uptodate.
29 lines
873 B
Bash
29 lines
873 B
Bash
# Template file for 'openconnect'
|
|
pkgname=openconnect
|
|
version=7.06
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--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
|
|
}
|
|
}
|