CRUX-ARM : Home

Home :: Documentation :: Download :: Development :: Community :: Ports :: Packages :: Bugs :: Links :: About :: Donors
libmpfr: update to 3.0.0-p8
authorVictor Martinez <pitillo@ono.com>
Tue, 15 Mar 2011 07:47:36 +0000 (07:47 +0000)
committerVictor Martinez <pitillo@ono.com>
Tue, 15 Mar 2011 07:47:36 +0000 (07:47 +0000)
libmpfr/.footprint
libmpfr/.md5sum
libmpfr/Pkgfile

index 454b0a9c9cb3193962df8667df5fa83d5aa10691..d5da2f0c21563fcac99e311ee92ccddfa56c69ba 100644 (file)
@@ -5,6 +5,6 @@ drwxr-xr-x      root/root       usr/include/
 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.1.2.2
-lrwxrwxrwx     root/root       usr/lib/libmpfr.so.1 -> libmpfr.so.1.2.2
--rwxr-xr-x     root/root       usr/lib/libmpfr.so.1.2.2
+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
index 9ff04c83f28ed467152231dbd523ad7c4f89967b..5feaf3fb934f257e5c130b170f2ba8f34d0b1601 100644 (file)
@@ -1 +1,2 @@
-89e59fe665e2b3ad44a6789f40b059a0  mpfr-2.4.2.tar.bz2
+d96dd0380326a395d6805e75ed74b5a5  libmpfr-3.0.0-p8.patch.gz
+8ab3bef2864b8c6e6a291f5603141bbd  mpfr-3.0.0.tar.xz
index ab98ae5cd73e37921a1f8b53c383bdddfe8b0800..270b2c3be8536f9ea4e019c4b45eae200064fb03 100644 (file)
@@ -5,17 +5,19 @@
 # Depends on: libgmp
 
 name=libmpfr
-version=2.4.2
+version=3.0.0-p8
 release=1
-source=(http://www.mpfr.org/mpfr-$version/mpfr-$version.tar.bz2)
+source=(http://www.mpfr.org/mpfr-${version%-*}/mpfr-${version%-*}.tar.xz
+        $name-$version.patch.gz)
 
 build() {
-  cd mpfr-$version
-
+  cd mpfr-${version%-*}
+  gunzip -c $SRC/$name-$version.patch.gz | patch -p1
   ./configure --build=$CHOST \
               --host=$CTARGET \
               --prefix=/usr \
-              --with-gmp=$CLFS
+              --with-gmp-include=$CLFS/usr/include \
+              --with-gmp-lib=$CLFS/usr/lib
 
   make
   make DESTDIR=$PKG install