aboutsummaryrefslogtreecommitdiffstats
path: root/main/gnutls
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2011-06-07 08:18:35 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2011-06-07 08:20:46 +0000
commitfe5a97e1ad4f2ed81c3fe3ececdd7fa8c8439238 (patch)
tree562fd5ec01867953ecd3e2db7282d0dedfdfb209 /main/gnutls
parenta6c75968cfdfc42419a0b148a3ffd2e21f85bc90 (diff)
downloadaports-fe5a97e1ad4f2ed81c3fe3ececdd7fa8c8439238.tar.bz2
aports-fe5a97e1ad4f2ed81c3fe3ececdd7fa8c8439238.tar.xz
main/gnutls: upgrade to 2.12.6.1
Diffstat (limited to 'main/gnutls')
-rw-r--r--main/gnutls/APKBUILD24
1 files changed, 17 insertions, 7 deletions
diff --git a/main/gnutls/APKBUILD b/main/gnutls/APKBUILD
index a0f3a130ea..81ae97ee68 100644
--- a/main/gnutls/APKBUILD
+++ b/main/gnutls/APKBUILD
@@ -1,17 +1,17 @@
# Contributor: Michael Mason <ms13sp@gmail.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gnutls
-pkgver=2.10.5
-pkgrel=2
-pkgdesc="A library which provides a secure connection"
+pkgver=2.12.6.1
+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"
+depends_dev="libgcrypt-dev libgpg-error-dev zlib-dev libtasn1-dev"
makedepends="$depends_dev"
install=
-subpackages="$pkgname-doc $pkgname-dev"
+subpackages="$pkgname-doc $pkgname-dev $pkgname-utils"
source="http://ftp.gnu.org/pub/gnu/gnutls/$pkgname-$pkgver.tar.bz2"
build() {
@@ -21,13 +21,23 @@ build() {
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
- --disable-nls
+ --with-included-libcfg \
+ --with-libgcrypt \
+ --disable-rpath \
+ --disable-static \
+ || return 1
make
}
package() {
cd "$srcdir/$pkgname-$pkgver"
make -j1 DESTDIR="$pkgdir" install
+ rm -f "$pkgdir"/usr/lib/*.la
}
-md5sums="1b032e07ccd22f71a5df78aa73bd91f2 gnutls-2.10.5.tar.bz2"
+utils() {
+ pkgdesc="Command line tools for TLS protocol"
+ mkdir -p "$subpkgdir"/usr/
+ mv "$pkgdir"/usr/bin "$subpkgdir"/usr/
+}
+md5sums="e724e37f96984f3b0a215c11f03729bd gnutls-2.12.6.1.tar.bz2"