diff options
Diffstat (limited to 'unmaintained/openconnect')
-rw-r--r-- | unmaintained/openconnect/APKBUILD | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/unmaintained/openconnect/APKBUILD b/unmaintained/openconnect/APKBUILD new file mode 100644 index 0000000000..016399a115 --- /dev/null +++ b/unmaintained/openconnect/APKBUILD @@ -0,0 +1,36 @@ +# Contributor: Myautsai PAN <myautsai@gmail.com> +# Maintainer: Myautsai PAN <myautsai@gmail.com> + +pkgname=openconnect +pkgver=7.06 +pkgrel=3 +pkgdesc="Open client for Cisco AnyConnect VPN" +url="http://www.infradead.org/openconnect/" +arch="all" +license="LGPL2.1" +depends="vpnc" +makedepends="autoconf automake intltool python openssl-dev libxml2-dev lz4-dev + libproxy-dev linux-headers" +source="ftp://ftp.infradead.org/pub/$pkgname/$pkgname-$pkgver.tar.gz" +subpackages="$pkgname-doc" + +_builddir=$srcdir/$pkgname-$pkgver +build() { + cd $_builddir + ./configure --prefix=/usr \ + --sbindir=/usr/bin \ + --disable-static \ + --without-gnutls \ + --disable-nls + sed -i -r 's/\/\* #undef ICONV_CONST \*\//#define ICONV_CONST/' config.h + make +} + +package() { + cd $_builddir + make DESTDIR="$pkgdir" install +} + +md5sums="80f397911e1fed43d897d99be3d5f1a1 openconnect-7.06.tar.gz" +sha256sums="facf695368dc4537a6a30e2147be90b1d77ee3cb2d269eaef070b6d9ddab70f2 openconnect-7.06.tar.gz" +sha512sums="d1af9efe4ac1f6671dc6b92db0df981e8cae3f2f50b8b4c35a112b42a76517b7c8ea9fd5da93352445dd61da3012bf34fdbcc3add9d8727cbaad7d311e516108 openconnect-7.06.tar.gz" |