core/libmpfr/Pkgfile

20 lines
444 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-08-22 17:27:18 +02:00
version=4.2.1
2009-12-02 17:28:12 +01:00
release=1
2023-08-22 17:27:18 +02:00
source=(https://www.mpfr.org/mpfr-${version%-*}/mpfr-${version%-*}.tar.xz)
2008-09-17 10:28:59 +02:00
build() {
2023-08-21 21:49:13 +02:00
cd mpfr-${version%-*}
./configure --prefix=/usr
make
make DESTDIR=$PKG install
rm -r $PKG/usr/share
2008-09-17 10:28:59 +02:00
}