# HG changeset patch # User Christophe Lincoln # Date 1207775992 -7200 # Node ID 5175cd550521a0aff850bd05f95fe96f94234225 # Parent e235fcd822bcdab9b85235b12d6cb1017001c598 Up: binutils (2.17.50) used toolchain (not 2.18 but newer than 2.17...) diff -r e235fcd822bc -r 5175cd550521 binutils/receipt --- a/binutils/receipt Wed Apr 09 20:19:49 2008 +0200 +++ b/binutils/receipt Wed Apr 09 23:19:52 2008 +0200 @@ -1,21 +1,28 @@ # SliTaz package receipt. PACKAGE="binutils" -VERSION="2.17" +VERSION="2.17.50" CATEGORY="development" SHORT_DESC="GNU assembler, linker and binary utilities." MAINTAINER="pankso@slitaz.org" -TARBALL="$PACKAGE-$VERSION.tar.gz" +TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="http://www.gnu.org/software/binutils/" -WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" +#WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" +WGET_URL="ftp://sourceware.org/pub/binutils/snapshots/$TARBALL" # Rules to configure and make the package. +# +# First pass: --disable-werror \ +# compile_rules() { mkdir binutils-build && cd binutils-build - ../$PACKAGE-$VERSION/configure --prefix=/usr \ - --infodir=/usr/share/info --mandir=/usr/share/man \ - --enable-shared $CONFIGURE_ARGS + ../$PACKAGE-$VERSION/configure \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + --enable-shared \ + $CONFIGURE_ARGS make tooldir=/usr # Install in binutils-build/ and then move the files to # to the source tree. Can't install directly... This is done @@ -27,17 +34,15 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/share/locale + mkdir -p $fs/usr cp -a $_pkg/usr/bin $fs/usr cp -a $_pkg/usr/lib $fs/usr cp -a $_pkg/usr/include $fs/usr - cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale + # libiberty.h cp -a $src/include/libiberty.h $fs/usr/include + # Remove libiberty.a (use the one from GCC) and 'strings' (Busybox). rm $fs/usr/lib/libiberty.a rm $fs/usr/bin/strings - # Da strip... - strip --strip-debug $fs/usr/bin/* - strip --strip-debug $fs/usr/lib/*.so* }