wok-next view binutils/receipt @ rev 21157

Update some WEB_SITE
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 04 11:54:13 2019 +0100 (2019-02-04)
parents d03cdb2a688a
children c48f9b3034e6
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"
14 TARBALL_SHA1="1c5b0801b4857031d5626d917808cbd5c6401a4b"
16 BUILD_DEPENDS="glibc-dev zlib-dev texinfo bison flex gettext"
17 SPLIT="libbfd $PACKAGE"
19 COPY_libbfd="libbfd*.so"
20 COPY_std="@std @dev @rm"
22 CAT_libbfd="system-tools|Binary File Descriptor library"
23 TAGS_std="LFS assembler linker"
25 DEPENDS_libbfd="zlib"
26 DEPENDS_std="libbfd zlib flex glibc"
28 compile_rules() {
29 ./configure \
30 --enable-gold \
31 --enable-ld=default \
32 --enable-plugins \
33 --enable-shared \
34 --disable-werror \
35 --with-system-zlib \
36 $CONFIGURE_ARGS &&
37 make tooldir=/usr &&
38 make tooldir=/usr install || return 1
40 # Create prefixed version of the tools.
41 cd $install/usr/bin
42 for i in $(ls); do
43 mv $i $TOOLPREFIX$i
44 [ $i == 'strings' ] && continue # skip: Busybox intercept
45 ln -s $TOOLPREFIX$i $i
46 done
48 # Install libiberty (-liberty flag): dependency described in *.la files
49 install -m644 $src/include/libiberty.h $install/usr/include
50 }