Kevin Daudt fe50075133 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.
2019-02-18 18:57:20 +00:00

36 lines
855 B
Plaintext

# Contributor: Stefan Stutz <stutz@pm.me>
# Maintainer: Stefan Stutz <stutz@pm.me>
pkgname=mpdecimal
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"
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
}
check() {
cd "$builddir"
make check
}
package() {
cd "$builddir"
make install DESTDIR="$pkgdir"
}
sha512sums="eb18ad53b81b93c469db4d915bbb3fae21b36ad82a88e01fef3a6946ac5f50b54376e259a5ecbe23836f1efd59d226b942ecdee87eaba7f9e75cdcaaa9499ef7 mpdecimal-2.4.2.tar.gz"