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