description="C library for multiple-precision floating-point computations with correct rounding" packager="" maintainer="CRUX System Team, core-ports at crux dot nu" url="http://www.mpfr.org/" depends=(libgmp) name=libmpfr version=3.0.0-p8 release=1 source=(http://www.mpfr.org/mpfr-3.0.0/mpfr-3.0.0.tar.xz libmpfr-3.0.0-p8.patch.gz) build () { cd mpfr-${version%-*}; gunzip -c $SRC/$name-$version.patch.gz | patch -p1; ./configure --prefix=/usr; make; make DESTDIR=$PKG install; rm -r $PKG/usr/share }