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
|
2009-03-07 10:55:14 +01:00
|
|
|
version=2.4.1
|
2009-05-16 10:18:43 +02:00
|
|
|
release=2
|
2009-03-07 10:55:14 +01:00
|
|
|
source=(http://www.mpfr.org/mpfr-$version/mpfr-$version.tar.bz2
|
2009-05-16 10:18:43 +02:00
|
|
|
$name-$version.patch)
|
2008-09-17 10:28:59 +02:00
|
|
|
|
|
|
|
build() {
|
|
|
|
cd mpfr-$version
|
2009-05-16 10:18:43 +02:00
|
|
|
patch -p1 -i $SRC/$name-$version.patch
|
2008-09-17 10:28:59 +02:00
|
|
|
./configure --prefix=/usr
|
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
rm -r $PKG/usr/share
|
|
|
|
}
|