X-Git-Url: http://gitweb/?a=blobdiff_plain;f=libmpfr%2FPkgfile;h=8c717a335729ea7b6e24d1655e7db587a0387738;hb=715b604769bc1561c9cc71ab8b01ef10c3f7a492;hp=a0b11bd986a686956244e5964c79d0b6c4b7d735;hpb=4c935997314f820bdca57621c05f97ce9de35d43;p=crossrootfs.git diff --git a/libmpfr/Pkgfile b/libmpfr/Pkgfile index a0b11bd..8c717a3 100644 --- a/libmpfr/Pkgfile +++ b/libmpfr/Pkgfile @@ -1,21 +1,24 @@ # 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, 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.1.1-p2 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