wok rev 24369

updated binutils and libbfd (2.33.1 -> 2.37)
author Hans-G?nter Theisgen
date Sat Feb 05 09:26:55 2022 +0100 (2022-02-05)
parents 523bcde399d0
children 6f7c7009cd62
files binutils/receipt libbfd/receipt
line diff
     1.1 --- a/binutils/receipt	Sat Feb 05 07:56:23 2022 +0100
     1.2 +++ b/binutils/receipt	Sat Feb 05 09:26:55 2022 +0100
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="binutils"
     1.7 -VERSION="2.33.1"
     1.8 +VERSION="2.37"
     1.9  CATEGORY="development"
    1.10  TAGS="assembler linker"
    1.11  SHORT_DESC="GNU assembler, linker and binary utilities."
    1.12 @@ -41,17 +41,17 @@
    1.13  		i?86) ARCH_ARGS="--disable-werror --enable-64-bit-bfd" ;;
    1.14  	esac
    1.15  
    1.16 -	mkdir -p ../binutils-build &&
    1.17 -	cd ../binutils-build
    1.18 +	mkdir	../binutils-build &&
    1.19 +	cd	../binutils-build &&
    1.20  	$src/configure					\
    1.21  		--program-prefix=$TOOLPREFIX		\
    1.22 +		--enable-shared				\
    1.23  		--disable-initfini-array		\
    1.24 -		 --enable-shared			\
    1.25  		--with-bugurl="http://bugs.slitaz.org/"	\
    1.26  		$CONFIGURE_ARGS				\
    1.27  		$ARCH_ARGS &&
    1.28  	make tooldir=/usr &&
    1.29 -	make tooldir=/usr install &&
    1.30 +	make install tooldir=/usr &&
    1.31  	# This is the default binutils, so create symlinks to the target platform
    1.32  	# binutil binaries. Delete duplicate binaries to save space.
    1.33  	for binutil in $(ls -1 $DESTDIR/usr/bin | grep "${TOOLPREFIX}")
    1.34 @@ -68,24 +68,23 @@
    1.35  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.36  genpkg_rules()
    1.37  {
    1.38 -	mkdir -p $fs/usr/lib
    1.39 -
    1.40 -	cp -a $install/usr/bin		$fs/usr
    1.41 -	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    1.42 -	cp -a $install/usr/lib/*.a	$fs/usr/lib
    1.43 -	cp -a $install/usr/include	$fs/usr
    1.44 +	cook_copy_folders	bin
    1.45 +	cook_copy_folders	include
    1.46 +	cook_copy_files		*.a
    1.47 +	cook_copy_files		*.so*
    1.48  
    1.49  	# libiberty.h
    1.50  	cp -a $src/include/libiberty.h	$fs/usr/include
    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 +	rm				$fs/usr/bin/strings
    1.56 +	rm				$fs/usr/bin/*-strings
    1.57  
    1.58  	# Remove build directory (cookutils and tazwok path).
    1.59  	rm -rf $WOK/$PACKAGE/source/$PACKAGE-build
    1.60  	rm -rf $WOK/$PACKAGE/$PACKAGE-build
    1.61  
    1.62 -	chown -R root:root $fs/usr/include/libiberty.h
    1.63 -	chmod 644 $fs/usr/include/libiberty.h
    1.64 +	chown -R root:root		$fs/usr/include/libiberty.h
    1.65 +	chmod 644			$fs/usr/include/libiberty.h
    1.66  }
     2.1 --- a/libbfd/receipt	Sat Feb 05 07:56:23 2022 +0100
     2.2 +++ b/libbfd/receipt	Sat Feb 05 09:26:55 2022 +0100
     2.3 @@ -1,19 +1,19 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="libbfd"
     2.7 -VERSION="2.33.1"
     2.8 +VERSION="2.37"
     2.9  CATEGORY="system-tools"
    2.10 -SHORT_DESC="Binary File Descriptor library"
    2.11 +SHORT_DESC="Binary File Descriptor library."
    2.12  MAINTAINER="erjo@slitaz.org"
    2.13  LICENSE="GPL2"
    2.14  WEB_SITE="http://www.gnu.org/software/binutils/"
    2.15 -WANTED="binutils"
    2.16  
    2.17  DEPENDS="zlib"
    2.18 +WANTED="binutils"
    2.19  
    2.20  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.21  genpkg_rules()
    2.22  {
    2.23  	mkdir -p $fs/usr/lib
    2.24 -	cp -a $install/usr/lib/libbfd*.so $fs/usr/lib
    2.25 +	cp -a $install/usr/lib/libbfd*.so	$fs/usr/lib
    2.26  }