From: Victor Martinez Date: Wed, 7 Dec 2011 13:15:53 +0000 (+0100) Subject: libmpfr: Initial import, added MACHTYPE to configure options X-Git-Url: http://gitweb/?a=commitdiff_plain;h=9a48c2ffa2bb8c7ada7239326e1a285aecbb3622;hp=fe1e2a072d4f3c4e9c9d4e2bd9709bb0235c49f3;p=ports%2Fcore-arm.git libmpfr: Initial import, added MACHTYPE to configure options --- diff --git a/libmpfr/.footprint b/libmpfr/.footprint new file mode 100644 index 0000000..59ca145 --- /dev/null +++ b/libmpfr/.footprint @@ -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 index 0000000..2a10bf4 --- /dev/null +++ b/libmpfr/.md5sum @@ -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 index 0000000..b0844aa --- /dev/null +++ b/libmpfr/Pkgfile @@ -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 index 0000000..09d40c2 Binary files /dev/null and b/libmpfr/libmpfr-3.1.0-p3.patch.gz differ