diff options
Diffstat (limited to 'main')
-rw-r--r-- | main/gnutls/APKBUILD | 24 |
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" |