summaryrefslogtreecommitdiffstats
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
parent582c0ba7cfdd822a226ce2750d5069df2f9a05e8 (diff)
downloaddevel-b3021daa016d2d63b3403c52f507fdbf71e6a729.tar.gz
devel-b3021daa016d2d63b3403c52f507fdbf71e6a729.tar.bz2
devel-b3021daa016d2d63b3403c52f507fdbf71e6a729.tar.xz
devel-b3021daa016d2d63b3403c52f507fdbf71e6a729.zip
Recette de libmpfr ajoutée.
-rw-r--r--libmpfr/.footprint29
-rw-r--r--libmpfr/.md5sum2
-rw-r--r--libmpfr/.sha256sum2
-rw-r--r--libmpfr/Pkgfile18
-rw-r--r--libmpfr/Pkgfile.old19
-rw-r--r--libmpfr/libmpfr-3.0.0-p8.patch.gzbin0 -> 15201 bytes
6 files changed, 70 insertions, 0 deletions
diff --git a/libmpfr/.footprint b/libmpfr/.footprint
new file mode 100644
index 0000000..112d522
--- /dev/null
+++ b/libmpfr/.footprint
@@ -0,0 +1,29 @@
+drwxr-xr-x root/root usr/
+drwxr-xr-x root/root usr/include/
+-rw-r--r-- root/root usr/include/mpf2mpfr.h
+-rw-r--r-- root/root usr/include/mpfr.h
+drwxr-xr-x root/root usr/lib/
+-rw-r--r-- root/root usr/lib/libmpfr.a
+-rwxr-xr-x root/root usr/lib/libmpfr.la
+lrwxrwxrwx root/root usr/lib/libmpfr.so -> libmpfr.so.4.0.0
+lrwxrwxrwx root/root usr/lib/libmpfr.so.4 -> libmpfr.so.4.0.0
+-rwxr-xr-x root/root usr/lib/libmpfr.so.4.0.0
+drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/doc/
+drwxr-xr-x root/root usr/share/doc/mpfr/
+-rw-r--r-- root/root usr/share/doc/mpfr/AUTHORS
+-rw-r--r-- root/root usr/share/doc/mpfr/BUGS
+-rw-r--r-- root/root usr/share/doc/mpfr/COPYING
+-rw-r--r-- root/root usr/share/doc/mpfr/COPYING.LESSER
+-rw-r--r-- root/root usr/share/doc/mpfr/FAQ.html
+-rw-r--r-- root/root usr/share/doc/mpfr/NEWS
+-rw-r--r-- root/root usr/share/doc/mpfr/TODO
+drwxr-xr-x root/root usr/share/doc/mpfr/examples/
+-rw-r--r-- root/root usr/share/doc/mpfr/examples/ReadMe
+-rw-r--r-- root/root usr/share/doc/mpfr/examples/divworst.c
+-rw-r--r-- root/root usr/share/doc/mpfr/examples/rndo-add.c
+-rw-r--r-- root/root usr/share/doc/mpfr/examples/sample.c
+-rw-r--r-- root/root usr/share/doc/mpfr/examples/version.c
+drwxr-xr-x root/root usr/share/info/
+-rw-r--r-- root/root usr/share/info/dir
+-rw-r--r-- root/root usr/share/info/mpfr.info
diff --git a/libmpfr/.md5sum b/libmpfr/.md5sum
new file mode 100644
index 0000000..5feaf3f
--- /dev/null
+++ b/libmpfr/.md5sum
@@ -0,0 +1,2 @@
+d96dd0380326a395d6805e75ed74b5a5 libmpfr-3.0.0-p8.patch.gz
+8ab3bef2864b8c6e6a291f5603141bbd mpfr-3.0.0.tar.xz
diff --git a/libmpfr/.sha256sum b/libmpfr/.sha256sum
new file mode 100644
index 0000000..1e3d758
--- /dev/null
+++ b/libmpfr/.sha256sum
@@ -0,0 +1,2 @@
+b3cc6057be0faebda4498cb227ac3f8dcee714df01a7934ad82eb116733f600d libmpfr-3.0.0-p8.patch.gz
+22de51fee8ccfae75eaea85938acf8c9d8e9415269d9abb7ced52ebf0a29b5d8 mpfr-3.0.0.tar.xz
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
+}
diff --git a/libmpfr/Pkgfile.old b/libmpfr/Pkgfile.old
new file mode 100644
index 0000000..6fb9b15
--- /dev/null
+++ b/libmpfr/Pkgfile.old
@@ -0,0 +1,19 @@
+# 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
+# Depends on: libgmp
+
+name=libmpfr
+version=3.0.0-p8
+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
+ make
+ make DESTDIR=$PKG install
+ rm -r $PKG/usr/share
+}
diff --git a/libmpfr/libmpfr-3.0.0-p8.patch.gz b/libmpfr/libmpfr-3.0.0-p8.patch.gz
new file mode 100644
index 0000000..7d2707b
--- /dev/null
+++ b/libmpfr/libmpfr-3.0.0-p8.patch.gz
Binary files differ