wok diff binutils/receipt @ rev 24974

Update some wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 02 11:23:24 2022 +0000 (2022-05-02)
parents 71360a13cd94
children
line diff
     1.1 --- a/binutils/receipt	Fri Jan 28 18:19:21 2022 +0000
     1.2 +++ b/binutils/receipt	Mon May 02 11:23:24 2022 +0000
     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  }