# HG changeset patch # User Antoine Bodin # Date 1296084050 -3600 # Node ID 79a8dffadd9f7d9cda43ff783f3105ecfd289395 # Parent c906b3acf8473e5dec97789922fabf46ceecc41d imported patch toolchain/gmp.patch diff -r c906b3acf847 -r 79a8dffadd9f gmp/receipt --- a/gmp/receipt Thu Jan 27 00:20:50 2011 +0100 +++ b/gmp/receipt Thu Jan 27 00:20:50 2011 +0100 @@ -5,8 +5,8 @@ CATEGORY="development" SHORT_DESC="GNU Multiple Precision Arithmetic Library." MAINTAINER="pankso@slitaz.org" -DEPENDS="make" -BUILD_DEPENDS="glibc-dev make m4" +DEPENDS="glibc-base" +BUILD_DEPENDS="binutils" TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="http://gmplib.org/" WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" @@ -15,12 +15,13 @@ compile_rules() { cd $src - ./configure \ - --prefix=/usr \ - --infodir=/usr/share/info \ - $CONFIGURE_ARGS && + # gmp try to cook for 64bits system if kernel can support when using + # tmp toolchain + export ABI=32 + ./configure && make && - make DESTDIR=$PWD/_pkg install + # -j > 1 make install fails. + make -j 1 install } # Rules to gen a SliTaz package suitable for Tazpkg.