wok-next view binutils/receipt @ rev 21060

Update: binutils (2.31.1), bison (3.2.2), gcc (8.2.0), glibc (2.28), linux (4.14.85)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Dec 05 02:04:28 2018 +0200 (2018-12-05)
parents d5aab818505e
children 82b613cfd1e0
line source
1 # SliTaz package receipt v2.
3 PACKAGE="binutils"
4 VERSION="2.31.1"
5 CATEGORY="development"
6 SHORT_DESC="GNU assembler, linker and binary utilities"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2 LGPL2 GPL3 LGPL3"
9 WEB_SITE="https://www.gnu.org/software/binutils/"
10 LFS="http://www.linuxfromscratch.org/lfs/view/development/chapter06/binutils.html"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
15 BUILD_DEPENDS="glibc-dev zlib-dev texinfo bison flex gettext"
16 SPLIT="libbfd $PACKAGE"
18 COPY_libbfd="libbfd*.so"
19 COPY_std="@std @dev @rm"
21 CAT_libbfd="system-tools|Binary File Descriptor library"
22 TAGS_std="LFS assembler linker"
24 DEPENDS_libbfd="zlib"
25 DEPENDS_std="libbfd zlib flex glibc"
27 compile_rules() {
28 ./configure \
29 --enable-gold \
30 --enable-ld=default \
31 --enable-plugins \
32 --enable-shared \
33 --disable-werror \
34 --with-system-zlib \
35 $CONFIGURE_ARGS &&
36 make tooldir=/usr &&
37 make tooldir=/usr install || return 1
39 # Create prefixed version of the tools.
40 cd $install/usr/bin
41 for i in $(ls); do
42 mv $i $TOOLPREFIX$i
43 [ $i == 'strings' ] && continue # skip: Busybox intercept
44 ln -s $TOOLPREFIX$i $i
45 done
47 # Install libiberty (-liberty flag): dependency described in *.la files
48 install -m644 $src/include/libiberty.h $install/usr/include
49 }