blob: 5921951877e8cb1cf62c71734edf79b227926052 (
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.1.0-p1
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 }
|