X-Git-Url: http://gitweb/?a=blobdiff_plain;f=libmpfr%2FPkgfile;h=270b2c3be8536f9ea4e019c4b45eae200064fb03;hb=e661f252c93bb3c7666bd25208cc113d174910b1;hp=a10ee4180591fc5496d073fa90f15e961a1f071f;hpb=b1b926ea82379f729e50339e9881893fbd3032a2;p=crossrootfs.git diff --git a/libmpfr/Pkgfile b/libmpfr/Pkgfile index a10ee41..270b2c3 100644 --- a/libmpfr/Pkgfile +++ b/libmpfr/Pkgfile @@ -1,21 +1,23 @@ # 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 -# Ach Maintainer: CRUX ARM System Team, crux-arm at mikeux dot dyndns dot org +# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu # 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