20 lines
502 B
Plaintext
20 lines
502 B
Plaintext
# Description: C library for multiple-precision floating-point computations with correct rounding
|
|
# URL: https://www.mpfr.org/
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
|
# Depends on: libgmp
|
|
|
|
name=libmpfr
|
|
version=4.2.0-p4
|
|
release=1
|
|
source=(https://www.mpfr.org/mpfr-${version%-*}/mpfr-${version%-*}.tar.xz
|
|
$name-$version.patch)
|
|
|
|
build() {
|
|
cd mpfr-${version%-*}
|
|
patch -p1 -i $SRC/$name-$version.patch
|
|
./configure --prefix=/usr
|
|
make
|
|
make DESTDIR=$PKG install
|
|
rm -r $PKG/usr/share
|
|
}
|