2008-09-17 10:28:59 +02:00
|
|
|
# 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
|
2015-11-02 10:14:41 +01:00
|
|
|
version=3.1.3-p5
|
2009-12-02 17:28:12 +01:00
|
|
|
release=1
|
2015-07-03 09:42:56 +02:00
|
|
|
source=(http://www.mpfr.org/mpfr-${version%-*}/mpfr-${version%-*}.tar.xz
|
|
|
|
$name-$version.patch.gz)
|
2008-09-17 10:28:59 +02:00
|
|
|
|
|
|
|
build() {
|
2013-10-15 18:48:03 +02:00
|
|
|
cd mpfr-${version%-*}
|
2015-07-03 09:42:56 +02:00
|
|
|
gunzip -c $SRC/$name-$version.patch.gz | patch -p1
|
|
|
|
touch doc/mpfr.info
|
2008-09-17 10:28:59 +02:00
|
|
|
./configure --prefix=/usr
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
rm -r $PKG/usr/share
|
|
|
|
}
|