blob: c865555474a5bbd1dd6634150037ba683788cb75 (
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=2.4.2.3
8 release=1
9 source=(http://www.mpfr.org/mpfr-$version/mpfr-${version%.*}.tar.xz
10 $name-$version.patch)
11
12 build() {
13 cd mpfr-${version%.*}
14 patch -Zp1 -i $SRC/$name-$version.patch
15 ./configure --prefix=/usr
16 make
17 make DESTDIR=$PKG install
18 rm -r $PKG/usr/share
19 }
|