wok diff binutils/receipt @ rev 22717

updated fcron (3.0.4 -> 3.2.1)
author Hans-G?nter Theisgen
date Wed Jan 22 15:57:11 2020 +0100 (2020-01-22)
parents 86790a278e70
children 30054e3f93e9
line diff
     1.1 --- a/binutils/receipt	Tue Aug 07 23:03:21 2018 +0200
     1.2 +++ b/binutils/receipt	Wed Jan 22 15:57:11 2020 +0100
     1.3 @@ -1,22 +1,25 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="binutils"
     1.7 -VERSION="2.25"
     1.8 +VERSION="2.33.1"
     1.9  CATEGORY="development"
    1.10 +TAGS="assembler linker"
    1.11  SHORT_DESC="GNU assembler, linker and binary utilities."
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="https://www.gnu.org/software/binutils/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.17 -WEB_SITE="http://www.gnu.org/software/binutils/"
    1.18  WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    1.19  #WGET_URL="https://www.kernel.org/pub/linux/devel/binutils/$TARBALL"
    1.20 +WGET_URL="http://ftp.gnu.org/gnu/$PACKAGE/$TARBALL"
    1.21 +
    1.22  PROVIDE="libbfd"
    1.23 -TAGS="assembler linker"
    1.24 +DEPENDS="flex glibc zlib"
    1.25 +BUILD_DEPENDS="glibc-dev texinfo zlib-dev"
    1.26 +
    1.27  HOST_ARCH="i486 arm"
    1.28  
    1.29 -DEPENDS="flex glibc zlib"
    1.30 -BUILD_DEPENDS="glibc-dev zlib-dev texinfo"
    1.31 -
    1.32  # Handle cross compilation.
    1.33  case "$ARCH" in
    1.34  	arm) BUILD_DEPENDS="" ;;
    1.35 @@ -28,37 +31,43 @@
    1.36  	case "$ARCH" in
    1.37  		i?86) ARCH_ARGS="--disable-werror" ;;
    1.38  	esac
    1.39 -	mkdir -p ../binutils-build && cd ../binutils-build
    1.40 -	$src/configure \
    1.41 -		--program-prefix=$TOOLPREFIX \
    1.42 -		--enable-shared \
    1.43 -		--disable-initfini-array \
    1.44 -		--with-bugurl="http://bugs.slitaz.org/" \
    1.45 -		$CONFIGURE_ARGS $ARCH_ARGS &&
    1.46 +
    1.47 +	mkdir -p ../binutils-build &&
    1.48 +	cd ../binutils-build
    1.49 +	$src/configure					\
    1.50 +		--program-prefix=$TOOLPREFIX		\
    1.51 +		--enable-shared				\
    1.52 +		--disable-initfini-array		\
    1.53 +		--with-bugurl="http://bugs.slitaz.org/"	\
    1.54 +		$CONFIGURE_ARGS				\
    1.55 +		$ARCH_ARGS &&
    1.56  	make tooldir=/usr &&
    1.57  	make tooldir=/usr install &&
    1.58  	# This is the default binutils, so create symlinks to the target platform
    1.59  	# binutil binaries. Delete duplicate binaries to save space.
    1.60 -	for binutil in $(ls -1 $DESTDIR/usr/bin | grep "${TOOLPREFIX}") ; do
    1.61 +	for binutil in $(ls -1 $DESTDIR/usr/bin | grep "${TOOLPREFIX}")
    1.62 +	  do
    1.63  		path="$DESTDIR/usr/bin/$(echo "$binutil" | sed "s:$TOOLPREFIX::g")"
    1.64 -		if [ -e $path ] ; then
    1.65 +		if [ -e $path ]
    1.66 +		  then
    1.67  			rm -f $path
    1.68  		fi
    1.69  		ln -s $binutil $path
    1.70 -	done
    1.71 +	  done
    1.72  }
    1.73  
    1.74  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.75  genpkg_rules()
    1.76  {
    1.77  	mkdir -p $fs/usr/lib
    1.78 -	cp -a $install/usr/bin $fs/usr
    1.79 -	cp -a $install/usr/lib/*.so* $fs/usr/lib
    1.80 -	cp -a $install/usr/lib/*.a $fs/usr/lib
    1.81 -	cp -a $install/usr/include $fs/usr
    1.82 +
    1.83 +	cp -a $install/usr/bin		$fs/usr
    1.84 +	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    1.85 +	cp -a $install/usr/lib/*.a	$fs/usr/lib
    1.86 +	cp -a $install/usr/include	$fs/usr
    1.87  
    1.88  	# libiberty.h
    1.89 -	cp -a $src/include/libiberty.h $fs/usr/include
    1.90 +	cp -a $src/include/libiberty.h	$fs/usr/include
    1.91  
    1.92  	# Remove 'strings' (Busybox).
    1.93  	#rm $fs/usr/lib/libiberty.a