aboutsummaryrefslogtreecommitdiffstats
path: root/core/mpfr/APKBUILD
blob: 61e945dab2e2d2e1c51173ff0238eca00d018b2a (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
pkgname=mpfr
pkgver=2.3.2
pkgrel=3
pkgdesc="multiple-precision floating-point library"
url="http://www.mpfr.org/"
license="GPL LGPL"
depends="gmp"
makedepends="gmp-dev texinfo"
source="http://www.mpfr.org/mpfr-current/mpfr-2.3.2.tar.bz2"
subpackages="$pkgname-doc $pkgname-dev"

build () 
{ 
	cd "${srcdir}/${pkgname}-${pkgver}";
	./configure --prefix=/usr \
		--disable-thread-safe \
		--enable-shared || return 1;
	make || return 1;
	make DESTDIR="${pkgdir}" install || return 1;

	cd "${pkgdir}/usr/share/info" || return 1;
	rm -f dir;
	gzip * || return 1
}
md5sums="527147c097874340cb9cee0579dacf3b  mpfr-2.3.2.tar.bz2"