X-Git-Url: http://gitweb/?a=blobdiff_plain;f=libmpfr%2FPkgfile;h=8c717a335729ea7b6e24d1655e7db587a0387738;hb=c2b30fb83694e5ee01404f52eacaf7b3f3eaa3c8;hp=732c6d0bfe5fa2afc917142385318c630b4903e6;hpb=6dca1d213a39ee6af51632926e8b7c8914215cd9;p=crossrootfs.git diff --git a/libmpfr/Pkgfile b/libmpfr/Pkgfile index 732c6d0..8c717a3 100644 --- a/libmpfr/Pkgfile +++ b/libmpfr/Pkgfile @@ -1,23 +1,26 @@ # 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 +# Arch Maintainer: CRUX-ARM System Team, devel at crux-arm dot nu # Depends on: libgmp name=libmpfr -version=2.4.1 +version=3.1.1-p2 release=1 -source=(http://www.mpfr.org/mpfr-$version/mpfr-$version.tar.bz2 \ - mpfr-$version-branch_update-1.patch) +source=(http://www.mpfr.org/mpfr-${version%-*}/mpfr-${version%-*}.tar.xz + $name-$version.patch.gz) build() { - cd mpfr-$version - patch -p1 -i $SRC/mpfr-$version-branch_update-1.patch + cd mpfr-${version%-*} + gunzip -c $SRC/$name-$version.patch.gz | patch -p1 + ./configure --build=$CHOST \ --host=$CTARGET \ - --prefix=/usr + --prefix=/usr \ + --with-gmp-include=$CLFS/usr/include \ + --with-gmp-lib=$CLFS/usr/lib make make DESTDIR=$PKG install - rm -r $PKG/usr/share + rm -rf $PKG/usr/share }