summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-02-10 18:14:08 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-02-10 18:14:08 +0000
commitb95fe134e4d90b0f0c7b4c5802ce0c5f113a4686 (patch)
treece4dc43c8ff97ca647aa3093446ddc44cb68a4bd
parent12fa315e2018cf4a855df5991a237cba16a8758d (diff)
downloadaports-b95fe134e4d90b0f0c7b4c5802ce0c5f113a4686.tar.bz2
aports-b95fe134e4d90b0f0c7b4c5802ce0c5f113a4686.tar.xz
main/gmp: upgrade to 4.3.2
-rw-r--r--main/gmp/APKBUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/main/gmp/APKBUILD b/main/gmp/APKBUILD
index 82651e897..5407514d7 100644
--- a/main/gmp/APKBUILD
+++ b/main/gmp/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=gmp
-pkgver=4.3.1
+pkgver=4.3.2
pkgrel=0
pkgdesc="A free library for arbitrary precision arithmetic"
url="http://gmplib.org/"
@@ -12,9 +12,9 @@ source="ftp://ftp.gnu.org/gnu/gmp/gmp-$pkgver.tar.bz2
gmp-4.1.4-noexecstack.patch
"
-build ()
-{
- cd "${srcdir}/${pkgname}-${pkgver}"
+_builddir="$srcdir"/$pkgname-$pkgver
+build() {
+ cd "$_builddir"
patch -p1 < ../gmp-4.1.4-noexecstack.patch || return 1
ABI="32" ./configure --prefix=/usr \
@@ -29,7 +29,11 @@ build ()
|| return 1
make || return 1
+}
+
+package() {
+ cd "$_builddir"
make -j1 DESTDIR="${pkgdir}" install || return 1
}
-md5sums="26cec15a90885042dd4a15c4003b08ae gmp-4.3.1.tar.bz2
+md5sums="dd60683d7057917e34630b4a787932e8 gmp-4.3.2.tar.bz2
13c34f00e77ded6673270cfea06c35c3 gmp-4.1.4-noexecstack.patch"