From b3021daa016d2d63b3403c52f507fdbf71e6a729 Mon Sep 17 00:00:00 2001 From: Lukc Date: Sun, 12 Dec 2010 05:48:32 +0100 Subject: Recette de libmpfr ajoutée. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- libmpfr/.footprint | 29 +++++++++++++++++++++++++++++ libmpfr/.md5sum | 2 ++ libmpfr/.sha256sum | 2 ++ libmpfr/Pkgfile | 18 ++++++++++++++++++ libmpfr/Pkgfile.old | 19 +++++++++++++++++++ libmpfr/libmpfr-3.0.0-p8.patch.gz | Bin 0 -> 15201 bytes 6 files changed, 70 insertions(+) create mode 100644 libmpfr/.footprint create mode 100644 libmpfr/.md5sum create mode 100644 libmpfr/.sha256sum create mode 100644 libmpfr/Pkgfile create mode 100644 libmpfr/Pkgfile.old create mode 100644 libmpfr/libmpfr-3.0.0-p8.patch.gz 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 " +maintainer="Lukc " +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 Binary files /dev/null and b/libmpfr/libmpfr-3.0.0-p8.patch.gz differ -- cgit v1.2.3-70-g09d2