wok-current rev 12543

binutils: add --with-bugurl=
author Christophe Lincoln <pankso@slitaz.org>
date Thu Apr 26 13:37:41 2012 +0200 (2012-04-26)
parents c73e6b9ec83a
children f73ab8941355
files binutils/receipt
line diff
     1.1 --- a/binutils/receipt	Thu Apr 26 13:27:11 2012 +0200
     1.2 +++ b/binutils/receipt	Thu Apr 26 13:37:41 2012 +0200
     1.3 @@ -8,6 +8,7 @@
     1.4  TARBALL="$PACKAGE-$VERSION.tar.bz2"
     1.5  WEB_SITE="http://www.gnu.org/software/binutils/"
     1.6  WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
     1.7 +#WGET_URL="http://www.kernel.org/pub/linux/devel/binutils/$TARBALL"
     1.8  PROVIDE="libbfd"
     1.9  TAGS="assembler linker"
    1.10  
    1.11 @@ -40,7 +41,7 @@
    1.12  	make &&
    1.13  	make install &&
    1.14  	make -C ld clean &&
    1.15 -	make -C ld LIB_PATH=/usr/lib:/lib 
    1.16 +	make -C ld LIB_PATH=/usr/lib:/lib
    1.17  	} || return 1
    1.18  	cp ld/ld-new /tools/bin
    1.19  }
    1.20 @@ -49,18 +50,19 @@
    1.21  compile_rules()
    1.22  {
    1.23  	cd $src
    1.24 -	
    1.25 +
    1.26  	# Handle ARCH type
    1.27  	case $ARCH in
    1.28  		i?86)
    1.29  			EXTRA_ARGS="--disable-werror" ;;
    1.30  	esac
    1.31 -	
    1.32 +
    1.33  	mkdir -p ../binutils-build && cd ../binutils-build
    1.34  	$src/configure \
    1.35  		--program-prefix=$TOOLPREFIX \
    1.36  		--enable-shared \
    1.37  		--disable-initfini-array \
    1.38 +		--with-bugurl="http://bugs.slitaz.org/" \
    1.39  		$CONFIGURE_ARGS $EXTRA_ARGS &&
    1.40  	make tooldir=/usr &&
    1.41  	make tooldir=/usr install &&
    1.42 @@ -83,14 +85,14 @@
    1.43  	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.44  	cp -a $install/usr/lib/*.a $fs/usr/lib
    1.45  	cp -a $install/usr/include $fs/usr
    1.46 -	
    1.47 +
    1.48  	# libiberty.h
    1.49  	cp -a $src/include/libiberty.h $fs/usr/include
    1.50 -	
    1.51 +
    1.52  	# Remove 'strings' (Busybox).
    1.53  	#rm $fs/usr/lib/libiberty.a
    1.54  	rm $fs/usr/bin/strings $fs/usr/bin/*-strings
    1.55 -	
    1.56 +
    1.57  	# Remove build directory (cookutils and tazwok path).
    1.58  	rm -rf $WOK/$PACKAGE/source/$PACKAGE-build
    1.59  	rm -rf $WOK/$PACKAGE/$PACKAGE-build