core/libmpfr/Pkgfile

20 lines
502 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
2022-12-13 16:13:55 +01:00
version=4.1.1-p1
2009-12-02 17:28:12 +01:00
release=1
2022-12-13 16:13:55 +01: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%-*}
2022-12-13 16:13:55 +01: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
}