aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/gmp/APKBUILD14
1 files changed, 9 insertions, 5 deletions
diff --git a/main/gmp/APKBUILD b/main/gmp/APKBUILD
index 82651e897d..5407514d70 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"