summaryrefslogtreecommitdiffstats
path: root/libmpfr/Pkgfile
diff options
context:
space:
mode:
authorLukc <lukc@upyum.com>2010-12-12 05:48:32 +0100
committerLukc <lukc@upyum.com>2010-12-12 05:48:32 +0100
commitb3021daa016d2d63b3403c52f507fdbf71e6a729 (patch)
treec1ec51132fdab8a7734e672dccf6d72dce3272dd /libmpfr/Pkgfile
parent582c0ba7cfdd822a226ce2750d5069df2f9a05e8 (diff)
downloaddevel-b3021daa016d2d63b3403c52f507fdbf71e6a729.tar.gz
devel-b3021daa016d2d63b3403c52f507fdbf71e6a729.tar.bz2
devel-b3021daa016d2d63b3403c52f507fdbf71e6a729.tar.xz
devel-b3021daa016d2d63b3403c52f507fdbf71e6a729.zip
Recette de libmpfr ajoutée.
Diffstat (limited to 'libmpfr/Pkgfile')
-rw-r--r--libmpfr/Pkgfile18
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
+}