aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/libtasn1/APKBUILD13
1 files changed, 9 insertions, 4 deletions
diff --git a/main/libtasn1/APKBUILD b/main/libtasn1/APKBUILD
index 27f71e8056..2170bd8303 100644
--- a/main/libtasn1/APKBUILD
+++ b/main/libtasn1/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libtasn1
-pkgver=2.2
+pkgver=2.4
pkgrel=0
pkgdesc="The ASN.1 library used in GNUTLS"
url="http://www.gnu.org/software/gnutls/"
@@ -9,12 +9,17 @@ subpackages="$pkgname-dev $pkgname-doc"
depends=
makedepends="texinfo"
install=
-source="ftp://ftp.gnu.org/gnu/gnutls/$pkgname-$pkgver.tar.gz"
+source="ftp://ftp.gnu.org/gnu/$pkgname/$pkgname-$pkgver.tar.gz"
+_builddir="$srcdir"/$pkgname-$pkgver
build() {
- cd "$srcdir"/$pkgname-$pkgver
+ cd "$_builddir"
./configure --prefix=/usr || return 1
make || return 1
+}
+
+package() {
+ cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
}
-md5sums="14cc361500d2e768a8a6ec538ce3fecb libtasn1-2.2.tar.gz"
+md5sums="bdfd59d6eb7924350e91367eb8adaa3c libtasn1-2.4.tar.gz"