X-Git-Url: http://gitweb/?a=blobdiff_plain;f=libmpfr%2FPkgfile;h=11ce2223f8debca39ac50e93465cf7f938c064d0;hb=e64896c6acab9b219b74dc10b72a80a0e4ae78eb;hp=ab98ae5cd73e37921a1f8b53c383bdddfe8b0800;hpb=b751b192b8a9f558df99b4050babc1b84d45a372;p=crossrootfs.git diff --git a/libmpfr/Pkgfile b/libmpfr/Pkgfile index ab98ae5..11ce222 100644 --- a/libmpfr/Pkgfile +++ b/libmpfr/Pkgfile @@ -5,17 +5,18 @@ # Depends on: libgmp name=libmpfr -version=2.4.2 +version=3.1.0 release=1 -source=(http://www.mpfr.org/mpfr-$version/mpfr-$version.tar.bz2) +source=(http://www.mpfr.org/mpfr-${version%-*}/mpfr-${version%-*}.tar.xz) build() { - cd mpfr-$version + cd mpfr-${version%-*} ./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