aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-03-19 11:03:58 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-03-19 12:35:01 +0000
commit0d2c854e59817e353c769dd659e9b8a210de96d3 (patch)
tree0b24981715152be9cf81cc3d27f4a69f7e596cfb /main
parentbb79f08f1eadbec26ce53a5aa90550901660d56f (diff)
downloadaports-0d2c854e59817e353c769dd659e9b8a210de96d3.tar.bz2
aports-0d2c854e59817e353c769dd659e9b8a210de96d3.tar.xz
main/gnutls: upgrade to 3.0.17
Diffstat (limited to 'main')
-rw-r--r--main/gnutls/APKBUILD21
1 files changed, 13 insertions, 8 deletions
diff --git a/main/gnutls/APKBUILD b/main/gnutls/APKBUILD
index 88d6f83506..0128684dad 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"