aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mpdecimal/APKBUILD
diff options
context:
space:
mode:
authorKevin Daudt <kdaudt@alpinelinux.org>2019-02-18 18:56:09 +0000
committerKevin Daudt <kdaudt@alpinelinux.org>2019-02-18 18:57:20 +0000
commitfe5007513346aadae38f0db7c58974fa7fc8578f (patch)
treed950a6d8f6a6441444730671c3c251c647968cea /testing/mpdecimal/APKBUILD
parentea005c071b819ef4ff89b27455efddaa5b4c16b2 (diff)
downloadaports-fe5007513346aadae38f0db7c58974fa7fc8578f.tar.bz2
aports-fe5007513346aadae38f0db7c58974fa7fc8578f.tar.xz
testing/mpdecimal: use update_config_guess to support ppc64le
The project is using an outdated config.guess file. Use `update_config_guess` to use a newer version.
Diffstat (limited to 'testing/mpdecimal/APKBUILD')
-rw-r--r--testing/mpdecimal/APKBUILD13
1 files changed, 10 insertions, 3 deletions
diff --git a/testing/mpdecimal/APKBUILD b/testing/mpdecimal/APKBUILD
index 7b3424ceb3..4472d27dc5 100644
--- a/testing/mpdecimal/APKBUILD
+++ b/testing/mpdecimal/APKBUILD
@@ -5,12 +5,19 @@ pkgver=2.4.2
pkgrel=0
pkgdesc="A complete implementation of the General Decimal Arithmetic Specification"
url="http://www.bytereef.org/mpdecimal/index.html"
-arch="all !ppc64le"
+arch="all"
license="BSD"
subpackages="$pkgname-doc"
source="http://www.bytereef.org/software/mpdecimal/releases/$pkgname-$pkgver.tar.gz"
builddir="$srcdir/$pkgname-$pkgver"
+prepare() {
+ cd "$builddir"
+ default_prepare
+
+ update_config_guess
+}
+
build() {
cd "$builddir"
./configure --prefix=/usr
@@ -22,7 +29,7 @@ check() {
}
package() {
- cd "$builddir"
- make install DESTDIR="$pkgdir"
+ cd "$builddir"
+ make install DESTDIR="$pkgdir"
}
sha512sums="eb18ad53b81b93c469db4d915bbb3fae21b36ad82a88e01fef3a6946ac5f50b54376e259a5ecbe23836f1efd59d226b942ecdee87eaba7f9e75cdcaaa9499ef7 mpdecimal-2.4.2.tar.gz"