diff options
Diffstat (limited to 'libmpfr/Pkgfile')
-rw-r--r-- | libmpfr/Pkgfile | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/libmpfr/Pkgfile b/libmpfr/Pkgfile new file mode 100644 index 0000000..7460410 --- /dev/null +++ b/libmpfr/Pkgfile @@ -0,0 +1,18 @@ +description="C library for multiple-precision floating-point computations with correct rounding." +packager="CRUX System Team <core-ports AT crux DOT nu>" +maintainer="Lukc <lukc AT upyum DOT com>" +url="http://www.mpfr.org/" +depends=(libgmp) + +name=libmpfr +version=3.0.0-p8 +release=1 +source=(http://www.mpfr.org/mpfr-${version%-*}/mpfr-${version%-*}.tar.xz libmpfr-$version.patch.gz) +build () +{ + cd mpfr-${version%-*}; + pigz -dc $SRC/$name-$version.patch.gz | patch -p1; + ./configure --prefix=$prefix --mandir=$mandir; + make; + make DESTDIR=$PKG install +} |