aboutsummaryrefslogtreecommitdiffstats
path: root/main/libtasn1
diff options
context:
space:
mode:
Diffstat (limited to 'main/libtasn1')
-rw-r--r--main/libtasn1/APKBUILD28
1 files changed, 16 insertions, 12 deletions
diff --git a/main/libtasn1/APKBUILD b/main/libtasn1/APKBUILD
index f7fdd6e00d..8d1ddddd70 100644
--- a/main/libtasn1/APKBUILD
+++ b/main/libtasn1/APKBUILD
@@ -1,33 +1,37 @@
+# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libtasn1
-pkgver=4.8
+pkgver=4.9
pkgrel=0
pkgdesc="The ASN.1 library used in GNUTLS"
url="http://www.gnu.org/software/gnutls/"
arch="all"
license="GPL3 LGPL"
-subpackages="$pkgname-dev $pkgname-doc"
depends=
makedepends="texinfo"
install=
+subpackages="$pkgname-dev $pkgname-doc"
source="ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz"
-_builddir="$srcdir"/$pkgname-$pkgver
-
-build() {
- cd "$_builddir"
- ./configure \
+builddir="$srcdir"/$pkgname-$pkgver
+build() {
+ cd "$builddir"
+ CFLAGS="-Wno-error=inline" ./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
+ --sysconfdir=/etc \
+ --mandir=/usr/share/man \
+ --localstatedir=/var \
|| return 1
- make || return 1
+ make -j1 || return 1
}
package() {
- cd "$_builddir"
+ cd "$builddir"
make DESTDIR="$pkgdir" install || return 1
}
-md5sums="9a6767705725544f2b86670dcfb34107 libtasn1-4.8.tar.gz"
-sha256sums="fa802fc94d79baa00e7397cedf29eb6827d4bd8b4dd77b577373577c93a8c513 libtasn1-4.8.tar.gz"
-sha512sums="22a0d1b2fc57efd18aa23ea720f915ec0c31bd2f60653181b0537d3d7c3c3262cef3a76e3be03fdb7d7cd5a6b4156a1033b156e56717bfa37a32f176692319f3 libtasn1-4.8.tar.gz"
+
+md5sums="3018d0f466a32b66dde41bb122e6cab6 libtasn1-4.9.tar.gz"
+sha256sums="4f6f7a8fd691ac2b8307c8ca365bad711db607d4ad5966f6938a9d2ecd65c920 libtasn1-4.9.tar.gz"
+sha512sums="1fb2c5eb89f3e9abd8f7433342619e3d89576ed15a783b8152ed9da0383342f80e750c570733ac266bc8a3c4b23e5e2a57e3735b2341d507e7d88ac366a8d6e7 libtasn1-4.9.tar.gz"