core/libmpfr/Pkgfile

20 lines
529 B
Plaintext

# Description: C library for multiple-precision floating-point computations with correct rounding
# URL: http://www.mpfr.org/
# Maintainer: CRUX System Team, core-ports at crux dot nu
# Depends on: libgmp
name=libmpfr
version=2.4.1
release=1
source=(http://www.mpfr.org/mpfr-$version/mpfr-$version.tar.bz2
$name-$version-patch{01,02})
build() {
cd mpfr-$version
cat $SRC/$name-$version-patch* | patch -p1
./configure --prefix=/usr
make
make DESTDIR=$PKG install
rm -r $PKG/usr/share
}