wok-next diff binutils/receipt @ rev 19743

Remake/fix: alsa-lib, alsaplayer; update base (LFS) packages: bash, binutils, bison, bzip2, diffutils, file, findutils, gawk, gcc, gettext, glibc, gmp, m4, mpc-library, mpfr, ncurses, patch, xz; update: tazpkg, cookutils, svgcleaner.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Jun 06 17:37:54 2017 +0300 (2017-06-06)
parents 364cb5b583b1
children 9a17d981d0f7
line diff
     1.1 --- a/binutils/receipt	Wed Feb 15 19:42:20 2017 +0200
     1.2 +++ b/binutils/receipt	Tue Jun 06 17:37:54 2017 +0300
     1.3 @@ -1,9 +1,9 @@
     1.4 -# SliTaz package receipt.
     1.5 +# SliTaz package receipt v2.
     1.6  
     1.7  PACKAGE="binutils"
     1.8  VERSION="2.27"
     1.9  CATEGORY="development"
    1.10 -SHORT_DESC="GNU assembler, linker and binary utilities."
    1.11 +SHORT_DESC="GNU assembler, linker and binary utilities"
    1.12  MAINTAINER="pankso@slitaz.org"
    1.13  LICENSE="GPL2 LGPL2 GPL3 LGPL3"
    1.14  WEB_SITE="http://www.gnu.org/software/binutils/"
    1.15 @@ -13,14 +13,9 @@
    1.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.17  WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
    1.18  
    1.19 -PROVIDE="libbfd"
    1.20 -DEPENDS="glibc zlib flex"
    1.21  BUILD_DEPENDS="glibc-dev zlib-dev texinfo bison flex gettext-tools"
    1.22 -
    1.23 -# Handle cross compilation.
    1.24 -case "$ARCH" in
    1.25 -	arm) BUILD_DEPENDS="" ;;
    1.26 -esac
    1.27 +BUILD_DEPENDS_arm=""
    1.28 +SPLIT="libbfd"
    1.29  
    1.30  # Rules to configure and make the package.
    1.31  compile_rules()
    1.32 @@ -61,6 +56,15 @@
    1.33  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.34  genpkg_rules()
    1.35  {
    1.36 -	cook_copy_folders bin lib include
    1.37 -	find $fs -name '*.la' -delete
    1.38 +	case $PACKAGE in
    1.39 +		binutils)
    1.40 +			copy @std @dev
    1.41 +			DEPENDS="glibc zlib flex libbfd"
    1.42 +			;;
    1.43 +		libbfd)
    1.44 +			copy libbfd*.so
    1.45 +			CAT="system-tools|Binary File Descriptor library"
    1.46 +			DEPENDS="zlib"
    1.47 +			;;
    1.48 +	esac
    1.49  }