Kevin Daudt dff5b4cd29 testing/mpdecimal: disable on armv7, armhf
Due to segfaults in the test suite
2020-10-01 14:14:12 +00:00

35 lines
853 B
Plaintext

# Contributor: Stefan Stutz <stutz@pm.me>
# Maintainer: Stefan Stutz <stutz@pm.me>
pkgname=mpdecimal
pkgver=2.5.0
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"
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 \
--target=$CTARGET \
--prefix=/usr
make
}
check() {
make check
}
package() {
make install DESTDIR="$pkgdir"
}
sha512sums="6f889f5f8c3e5854204ad7380b63c1bfeb5193c1d464f9a32149d47d1c9bd996c6a57b867ab65ea84f33e87fe69cb45ad78aa2abfb9bb5144eb527587016c472 mpdecimal-2.5.0.tar.gz"