wok-next view binutils/receipt @ rev 21720

qt4: replaced libIDL by libidl
author Hans-G?nter Theisgen
date Wed Aug 05 09:22:38 2020 +0100 (2020-08-05)
parents 82b613cfd1e0
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="binutils"
4 VERSION="2.34"
5 CATEGORY="development"
6 TAGS_std="LFS assembler linker"
7 SHORT_DESC="GNU assembler, linker and binary utilities"
8 MAINTAINER="maintainer@slitaz.org"
9 LICENSE="GPL2 LGPL2 GPL3 LGPL3"
10 WEB_SITE="https://www.gnu.org/software/binutils/"
11 LFS="http://www.linuxfromscratch.org/lfs/view/development/chapter06/binutils.html"
13 TARBALL="$PACKAGE-$VERSION.tar.bz2"
14 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
15 # 2.31.1 TARBALL_SHA1="1c5b0801b4857031d5626d917808cbd5c6401a4b"
17 BUILD_DEPENDS="bison flex gettext glibc-dev texinfo zlib-dev"
18 SPLIT="libbfd $PACKAGE"
20 COPY_libbfd="libbfd*.so"
21 COPY_std="@std @dev @rm"
23 CAT_libbfd="system-tools|Binary File Descriptor library"
25 DEPENDS_libbfd="zlib"
26 DEPENDS_std="flex glibc libbfd zlib"
28 compile_rules()
29 {
30 ./configure \
31 --enable-gold \
32 --enable-ld=default \
33 --enable-plugins \
34 --enable-shared \
35 --disable-werror \
36 --with-system-zlib \
37 $CONFIGURE_ARGS &&
38 make tooldir=/usr &&
39 make tooldir=/usr install || return 1
41 # Create prefixed version of the tools.
42 cd $install/usr/bin
43 for i in $(ls)
44 do
45 mv $i $TOOLPREFIX$i
46 [ $i == 'strings' ] && continue # skip: Busybox intercept
47 ln -s $TOOLPREFIX$i $i
48 done
50 # Install libiberty (-liberty flag): dependency described in *.la files
51 install -m644 $src/include/libiberty.h $install/usr/include
52 }