wok diff binutils/receipt @ rev 715

Up: slitaz-configs (2.0) - Include now Openbox default files and slim theme
author Christophe Lincoln <pankso@slitaz.org>
date Fri May 02 20:41:41 2008 +0200 (2008-05-02)
parents 208837b71acc
children 45b0ddd9adf0
line diff
     1.1 --- a/binutils/receipt	Wed Apr 09 14:43:25 2008 +0200
     1.2 +++ b/binutils/receipt	Fri May 02 20:41:41 2008 +0200
     1.3 @@ -1,21 +1,28 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="binutils"
     1.7 -VERSION="2.17"
     1.8 +VERSION="2.17.50"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="GNU assembler, linker and binary utilities."
    1.11  MAINTAINER="pankso@slitaz.org"
    1.12 -TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.13 +TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14  WEB_SITE="http://www.gnu.org/software/binutils/"
    1.15 -WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    1.16 +#WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    1.17 +WGET_URL="ftp://sourceware.org/pub/binutils/snapshots/$TARBALL"
    1.18  
    1.19  # Rules to configure and make the package.
    1.20 +#
    1.21 +# First pass: --disable-werror \
    1.22 +#
    1.23  compile_rules()
    1.24  {
    1.25  	mkdir binutils-build && cd binutils-build
    1.26 -	../$PACKAGE-$VERSION/configure --prefix=/usr \
    1.27 -	--infodir=/usr/share/info --mandir=/usr/share/man \
    1.28 -	--enable-shared $CONFIGURE_ARGS
    1.29 +	../$PACKAGE-$VERSION/configure \
    1.30 +		--prefix=/usr \
    1.31 +		--infodir=/usr/share/info \
    1.32 +		--mandir=/usr/share/man \
    1.33 +		--enable-shared \
    1.34 +		$CONFIGURE_ARGS
    1.35  	make tooldir=/usr
    1.36  	# Install in binutils-build/ and then move the files to
    1.37  	# to the source tree. Can't install directly... This is done
    1.38 @@ -27,17 +34,15 @@
    1.39  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.40  genpkg_rules()
    1.41  {
    1.42 -	mkdir -p $fs/usr/share/locale
    1.43 +	mkdir -p $fs/usr
    1.44  	cp -a $_pkg/usr/bin $fs/usr
    1.45  	cp -a $_pkg/usr/lib $fs/usr
    1.46  	cp -a $_pkg/usr/include $fs/usr
    1.47 -	cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
    1.48 +	
    1.49  	# libiberty.h
    1.50  	cp -a $src/include/libiberty.h $fs/usr/include
    1.51 +	
    1.52  	# Remove libiberty.a (use the one from GCC) and 'strings' (Busybox).
    1.53  	rm $fs/usr/lib/libiberty.a
    1.54  	rm $fs/usr/bin/strings
    1.55 -	# Da strip...
    1.56 -	strip --strip-debug $fs/usr/bin/*
    1.57 -	strip --strip-debug $fs/usr/lib/*.so*
    1.58  }