blob: 143c21f8353c724bb70a1dd603da9f72511e32c4 (
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.1-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 }
|