-# 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
-# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
-# Depends on: libgmp
-
-name=libmpfr
-version=3.1.0-p3
-release=1
-source=(http://www.mpfr.org/mpfr-${version%-*}/mpfr-${version%-*}.tar.xz
- $name-$version.patch.gz)
-
-build() {
- cd mpfr-${version%-*}
- gunzip -c $SRC/$name-$version.patch.gz | patch -p1
- ./configure --prefix=/usr \
- --build=$MACHTYPE
- make
- make DESTDIR=$PKG install
- rm -r $PKG/usr/share
-}