2008-09-17 10:28:59 +02:00
|
|
|
# Description: C library for multiple-precision floating-point computations with correct rounding
|
2021-12-13 12:11:56 +01:00
|
|
|
# URL: https://www.mpfr.org/
|
|
|
|
# Maintainer: CRUX System Team, core-ports at crux dot nu
|
|
|
|
# Depends on: libgmp
|
2008-09-17 10:28:59 +02:00
|
|
|
|
|
|
|
name=libmpfr
|
2023-05-13 10:11:12 +02:00
|
|
|
version=4.2.0-p7
|
2009-12-02 17:28:12 +01:00
|
|
|
release=1
|
2023-04-18 11:23:29 +02:00
|
|
|
source=(https://www.mpfr.org/mpfr-${version%-*}/mpfr-${version%-*}.tar.xz
|
|
|
|
$name-$version.patch)
|
2008-09-17 10:28:59 +02:00
|
|
|
|
|
|
|
build() {
|
2021-12-13 12:11:56 +01:00
|
|
|
cd mpfr-${version%-*}
|
2023-04-18 11:23:29 +02:00
|
|
|
patch -p1 -i $SRC/$name-$version.patch
|
2021-12-13 12:11:56 +01:00
|
|
|
./configure --prefix=/usr
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
rm -r $PKG/usr/share
|
2008-09-17 10:28:59 +02:00
|
|
|
}
|