2006-11-21 22:03:23 +11:00
|
|
|
# Description: Multiple precision floating-point computation library with cumulative patches.
|
|
|
|
# URL: http://www.mpfr.org/
|
|
|
|
# Maintainer: Danny Rawlins, romster at shortcircuit dot net dot au
|
2007-04-01 18:44:58 +10:00
|
|
|
# Packager: acrux, acrux at homelinux dot org
|
2006-11-21 22:03:23 +11:00
|
|
|
# Depends on: libgmp
|
|
|
|
|
2007-04-01 18:44:58 +10:00
|
|
|
name=mpfr
|
2007-09-05 11:17:46 +10:00
|
|
|
version=2.3.0-p1
|
2006-11-21 22:03:23 +11:00
|
|
|
release=1
|
2007-09-05 11:17:46 +10:00
|
|
|
source=(http://www.mpfr.org/mpfr-current/mpfr-${version%%-*}.tar.bz2 \
|
|
|
|
http://www.mpfr.org/mpfr-current/patches)
|
|
|
|
|
2006-11-21 22:03:23 +11:00
|
|
|
build() {
|
2007-09-05 11:17:46 +10:00
|
|
|
cd mpfr-${version%%-*}
|
|
|
|
patch -p1 -i $SRC/patches
|
2007-08-31 11:19:55 +10:00
|
|
|
#autoreconf -i -f
|
2006-11-21 22:03:23 +11:00
|
|
|
|
|
|
|
./configure \
|
|
|
|
--prefix=/usr \
|
|
|
|
--disable-nls
|
|
|
|
|
2007-04-01 18:44:58 +10:00
|
|
|
make
|
2007-08-31 11:19:55 +10:00
|
|
|
make check
|
2007-04-01 18:44:58 +10:00
|
|
|
make DESTDIR=$PKG install
|
2006-11-21 22:03:23 +11:00
|
|
|
rm -r $PKG/usr/share
|
|
|
|
}
|
|
|
|
|