Merge pull request #528 from uggedal/openconnect

Openconnect
This commit is contained in:
Juan RP 2014-09-03 09:08:32 +02:00
commit c2bb2a6d70
3 changed files with 45 additions and 0 deletions

1
srcpkgs/openconnect-devel Symbolic link
View File

@ -0,0 +1 @@
openconnect/

View File

@ -0,0 +1,29 @@
# Template file for 'openconnect'
pkgname=openconnect
version=6.00
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="8a0c684dccac2447d204d544f6f466e41b21bce71e033ba58e2cb17b795ab81c"
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
}
}

View File

@ -0,0 +1,15 @@
# Template file for 'vpnc-scripts'
pkgname=vpnc-scripts
version=20140806
revision=1
noarch=yes
short_desc="Network configuration scripts for VPNC and OpenConnect"
maintainer="Eivind Uggedal <eivind@uggedal.com>"
license="GPL-2"
homepage="http://www.infradead.org/openconnect/vpnc-script.html"
distfiles="ftp://ftp.infradead.org/pub/${pkgname}/${pkgname}-${version}.tar.gz"
checksum=1f61a6c5ec8a2dab7d5f12c9b438d931e41c6c1c258801ee978d5ed460f4d35f
do_install() {
vinstall vpnc-script 755 usr/libexec/vpnc-scripts/vpnc-script
}