mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 20:06:43 +02:00
testing/mpdecimal: new aport
This commit is contained in:
parent
836b364d6b
commit
79deec876e
28
testing/mpdecimal/APKBUILD
Normal file
28
testing/mpdecimal/APKBUILD
Normal 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"
|
||||
Loading…
x
Reference in New Issue
Block a user