testing/mpdecimal: new aport

This commit is contained in:
Stefan stutz 2019-01-17 16:08:35 +01:00 committed by Kevin Daudt
parent 836b364d6b
commit 79deec876e

View File

@ -0,0 +1,28 @@
# 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"
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"