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
-89e59fe665e2b3ad44a6789f40b059a0 mpfr-2.4.2.tar.bz2
+d96dd0380326a395d6805e75ed74b5a5 libmpfr-3.0.0-p8.patch.gz
+8ab3bef2864b8c6e6a291f5603141bbd mpfr-3.0.0.tar.xz
# 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