aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-02-01 20:41:27 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-02-01 20:41:27 +0000
commitde755cc7be21b5ef4ba0aeaf34eeb62602089571 (patch)
tree8f59bc7ac866f065db39e6b595bf26656b27567a /main
parent1da4709ee69cca23dc96c44eac5f28681a4aaa44 (diff)
downloadaports-de755cc7be21b5ef4ba0aeaf34eeb62602089571.tar.bz2
aports-de755cc7be21b5ef4ba0aeaf34eeb62602089571.tar.xz
main/libtasn1: upgrade to 2.4
Diffstat (limited to 'main')
-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"