blob: 1e96aa12e5d6058b3f760f69a7c2e75e20f4db02 (
plain)
1 # Description: C library for multiple-precision floating-point computations with correct rounding
2 # URL: http://www.mpfr.org/
3 # Maintainer: CRUX System Team, core-ports at crux dot nu
4 # Depends on: libgmp
5
6 name=libmpfr
7 version=3.0.0-p3
8 release=1
9 source=(http://www.mpfr.org/mpfr-$version/mpfr-${version%-*}.tar.xz
10 $name-$version.patch.gz)
11
12 build() {
13 cd mpfr-${version%-*}
14 gunzip -c $SRC/$name-$version.patch.gz | patch -p1
15 ./configure --prefix=/usr
16 make
17 make DESTDIR=$PKG install
18 rm -r $PKG/usr/share
19 }
|