wok-next diff gmp/receipt @ rev 8190

imported patch toolchain/gmp.patch
author Antoine Bodin <gokhlayeh@slitaz.org>
date Thu Jan 27 00:20:50 2011 +0100 (2011-01-27)
parents 30a97b458420
children dd0e8a306fc7
line diff
     1.1 --- a/gmp/receipt	Sat Oct 02 05:32:35 2010 +0000
     1.2 +++ b/gmp/receipt	Thu Jan 27 00:20:50 2011 +0100
     1.3 @@ -5,8 +5,8 @@
     1.4  CATEGORY="development"
     1.5  SHORT_DESC="GNU Multiple Precision Arithmetic Library."
     1.6  MAINTAINER="pankso@slitaz.org"
     1.7 -DEPENDS="make"
     1.8 -BUILD_DEPENDS="glibc-dev make m4"
     1.9 +DEPENDS="glibc-base"
    1.10 +BUILD_DEPENDS="binutils"
    1.11  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.12  WEB_SITE="http://gmplib.org/"
    1.13  WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    1.14 @@ -15,12 +15,13 @@
    1.15  compile_rules()
    1.16  {	
    1.17  	cd $src
    1.18 -	./configure \
    1.19 -		--prefix=/usr \
    1.20 -		--infodir=/usr/share/info \
    1.21 -		$CONFIGURE_ARGS &&
    1.22 +	# gmp try to cook for 64bits system if kernel can support when using
    1.23 +	# tmp toolchain
    1.24 +	export ABI=32
    1.25 +	./configure &&
    1.26  	make &&
    1.27 -	make DESTDIR=$PWD/_pkg install
    1.28 +	# -j > 1 make install fails.
    1.29 +	make -j 1 install
    1.30  }
    1.31  
    1.32  # Rules to gen a SliTaz package suitable for Tazpkg.