X-Git-Url: http://gitweb/?a=blobdiff_plain;f=libmpfr%2FPkgfile;h=1cfc3ffc46bc80482071a27e535d2a886f4cd4a0;hb=b4aac807c89c4c3f254c2320ab5a0e7a1fea2c44;hp=ab98ae5cd73e37921a1f8b53c383bdddfe8b0800;hpb=b751b192b8a9f558df99b4050babc1b84d45a372;p=crossrootfs.git diff --git a/libmpfr/Pkgfile b/libmpfr/Pkgfile index ab98ae5..1cfc3ff 100644 --- a/libmpfr/Pkgfile +++ b/libmpfr/Pkgfile @@ -5,17 +5,19 @@ # Depends on: libgmp name=libmpfr -version=2.4.2 +version=3.1.3-p5 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