diff options
Diffstat (limited to 'main')
-rw-r--r-- | main/gnutls/APKBUILD | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/main/gnutls/APKBUILD b/main/gnutls/APKBUILD index 88d6f8350..0128684da 100644 --- a/main/gnutls/APKBUILD +++ b/main/gnutls/APKBUILD @@ -1,28 +1,26 @@ # Contributor: Michael Mason <ms13sp@gmail.com> # Maintainer: Natanael Copa <ncopa@alpinelinux.org> pkgname=gnutls -pkgver=2.12.16 +pkgver=3.0.17 pkgrel=0 pkgdesc="A TLS protocol implementation" url="http://www.gnu.org/software/gnutls/" arch="all" license="GPL" depends= -depends_dev="libgcrypt-dev libgpg-error-dev zlib-dev libtasn1-dev p11-kit-dev" +depends_dev="nettle-dev zlib-dev libtasn1-dev p11-kit-dev" makedepends="$depends_dev" install= -subpackages="$pkgname-doc $pkgname-dev $pkgname-utils" -source="http://ftp.gnu.org/pub/gnu/gnutls/$pkgname-$pkgver.tar.bz2" +subpackages="$pkgname-doc $pkgname-dev $pkgname-utils $pkgname-c++:xx" +source="http://ftp.gnu.org/pub/gnu/gnutls/$pkgname-$pkgver.tar.xz" build() { cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ - --with-included-libcfg \ - --with-libgcrypt \ + --disable-openssl-compatibility \ --disable-rpath \ --disable-static \ || return 1 @@ -40,4 +38,11 @@ utils() { mkdir -p "$subpkgdir"/usr/ mv "$pkgdir"/usr/bin "$subpkgdir"/usr/ } -md5sums="0414bba9760201f27d66787997cbadfb gnutls-2.12.16.tar.bz2" + +xx() { + pkgdesc="The C++ interface to GnuTLS" + mkdir -p "$subpkgdir"/usr/lib + mv "$pkgdir"/usr/lib/lib*xx.so.* "$subpkgdir"/usr/lib/ +} + +md5sums="5e87bd73a237749e2acbbb7161f11d5e gnutls-3.0.17.tar.xz" |