core/libmpfr/Pkgfile

22 lines
512 B
Plaintext
Raw Normal View History

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-07-21 11:59:42 +02:00
version=4.2.0-p12
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
2023-08-21 21:49:13 +02:00
$name-$version.patch)
2008-09-17 10:28:59 +02:00
build() {
2023-08-21 21:49:13 +02:00
cd mpfr-${version%-*}
patch -p1 -i $SRC/$name-$version.patch
./configure --prefix=/usr
make
make DESTDIR=$PKG install
rm -r $PKG/usr/share
2008-09-17 10:28:59 +02:00
}