aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--testing/mpdecimal/APKBUILD17
1 files changed, 7 insertions, 10 deletions
diff --git a/testing/mpdecimal/APKBUILD b/testing/mpdecimal/APKBUILD
index c4fd9479fb..ee79c24233 100644
--- a/testing/mpdecimal/APKBUILD
+++ b/testing/mpdecimal/APKBUILD
@@ -1,21 +1,15 @@
# Contributor: Stefan Stutz <stutz@pm.me>
# Maintainer: Stefan Stutz <stutz@pm.me>
pkgname=mpdecimal
-pkgver=2.5.0
+pkgver=2.5.1
pkgrel=0
pkgdesc="complete implementation of the General Decimal Arithmetic Specification"
url="http://www.bytereef.org/mpdecimal/index.html"
arch="all !x86 !ppc64le !armv7 !armhf" # segfault in tests
license="BSD-2-Clause"
-subpackages="$pkgname-doc"
+subpackages="$pkgname-doc $pkgname-dev"
source="http://www.bytereef.org/software/mpdecimal/releases/mpdecimal-$pkgver.tar.gz"
-prepare() {
- default_prepare
- update_config_guess
- update_config_sub
-}
-
build() {
./configure \
--build=$CBUILD \
@@ -25,10 +19,13 @@ build() {
}
check() {
- make check
+ # The new test target *make check_local* does not attempt to download
+ # dectest.zip. This is useful for packagers whose infrastructure does
+ # not allow downloading during the testing phase.
+ make check_local
}
package() {
make install DESTDIR="$pkgdir"
}
-sha512sums="6f889f5f8c3e5854204ad7380b63c1bfeb5193c1d464f9a32149d47d1c9bd996c6a57b867ab65ea84f33e87fe69cb45ad78aa2abfb9bb5144eb527587016c472 mpdecimal-2.5.0.tar.gz"
+sha512sums="710cb5cb71dbcf3e170ca15869c148df0547b848400c6b6dd70c67d9961dbe1190af8fb4d1623bfb0ca2afe44f369a42e311ab5225ed89d4031cb49a3bd70f30 mpdecimal-2.5.1.tar.gz"