X-Git-Url: http://gitweb/?a=blobdiff_plain;f=libmpfr%2FPkgfile;h=1cfc3ffc46bc80482071a27e535d2a886f4cd4a0;hb=b4aac807c89c4c3f254c2320ab5a0e7a1fea2c44;hp=232b0d4687db6b8938b09ad1f6005c8bee04653f;hpb=83e7e2d09802b3a99d4eda97a03cad72a1b1039a;p=crossrootfs.git diff --git a/libmpfr/Pkgfile b/libmpfr/Pkgfile index 232b0d4..1cfc3ff 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 -# Arch Maintainer: CRUX-ARM System Team, devel@crux-arm.nu +# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu # 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