wok-next diff gmp/receipt @ rev 10575

gmp: Only install binutils when not installed and using cook. Don't added to bdeps since it will break tazwok cookorder.
author Christopher Rogers <slaxemulator@gmail.com>
date Wed May 25 19:26:31 2011 +0000 (2011-05-25)
parents dd0e8a306fc7
children 374c76bed660
line diff
     1.1 --- a/gmp/receipt	Thu May 19 21:14:41 2011 +0200
     1.2 +++ b/gmp/receipt	Wed May 25 19:26:31 2011 +0000
     1.3 @@ -5,16 +5,20 @@
     1.4  CATEGORY="development"
     1.5  SHORT_DESC="GNU Multiple Precision Arithmetic Library."
     1.6  MAINTAINER="pankso@slitaz.org"
     1.7 -DEPENDS="glibc-base"
     1.8 -BUILD_DEPENDS="binutils"
     1.9  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.10  WEB_SITE="http://gmplib.org/"
    1.11  WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    1.12  
    1.13 +DEPENDS="glibc-base"
    1.14 +#BUILD_DEPENDS="binutils"
    1.15 +
    1.16  # Rules to configure and make the package.
    1.17  compile_rules()
    1.18  {	
    1.19  	cd $src
    1.20 +	if [ -x /usr/bin/cook ]; then
    1.21 +		[ -d "/var/lib/tazpkg/binutils" ] || tazpkg get-install binutils
    1.22 +	fi
    1.23  	# gmp try to cook for 64bits system if kernel can support when using
    1.24  	# tmp toolchain. Not only and this export does nothing !!!
    1.25  	export ABI=32