CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
libmpfr: Initial import, added MACHTYPE to configure options
authorVictor Martinez <pitillo@ono.com>
Wed, 7 Dec 2011 13:15:53 +0000 (14:15 +0100)
committerVictor Martinez <pitillo@ono.com>
Wed, 7 Dec 2011 13:15:53 +0000 (14:15 +0100)
libmpfr/.footprint [new file with mode: 0644]
libmpfr/.md5sum [new file with mode: 0644]
libmpfr/Pkgfile [new file with mode: 0644]
libmpfr/libmpfr-3.1.0-p3.patch.gz [new file with mode: 0644]

diff --git a/libmpfr/.footprint b/libmpfr/.footprint
new file mode 100644 (file)
index 0000000..59ca145
--- /dev/null
@@ -0,0 +1,10 @@
+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.1.0
+lrwxrwxrwx     root/root       usr/lib/libmpfr.so.4 -> libmpfr.so.4.1.0
+-rwxr-xr-x     root/root       usr/lib/libmpfr.so.4.1.0
diff --git a/libmpfr/.md5sum b/libmpfr/.md5sum
new file mode 100644 (file)
index 0000000..2a10bf4
--- /dev/null
@@ -0,0 +1,2 @@
+88447955379f7c8d93c78bfc463f917d  libmpfr-3.1.0-p3.patch.gz
+6e495841bb026481567006cec0f821c3  mpfr-3.1.0.tar.xz
diff --git a/libmpfr/Pkgfile b/libmpfr/Pkgfile
new file mode 100644 (file)
index 0000000..b0844aa
--- /dev/null
@@ -0,0 +1,21 @@
+# 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
+# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu
+# Depends on: libgmp
+
+name=libmpfr
+version=3.1.0-p3
+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 \
+              --build=$MACHTYPE
+  make
+  make DESTDIR=$PKG install
+  rm -r $PKG/usr/share
+}
diff --git a/libmpfr/libmpfr-3.1.0-p3.patch.gz b/libmpfr/libmpfr-3.1.0-p3.patch.gz
new file mode 100644 (file)
index 0000000..09d40c2
Binary files /dev/null and b/libmpfr/libmpfr-3.1.0-p3.patch.gz differ