aboutsummaryrefslogtreecommitdiffstats
path: root/testing/mpdecimal/APKBUILD
blob: 4472d27dc52496ecc1e1bce1771d454b2ed54b1c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# 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"