wok view binutils/receipt @ rev 967
Up: isomaster (1.3.2)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Jun 30 11:49:46 2008 +0200 (2008-06-30) |
parents | 208837b71acc |
children | 45b0ddd9adf0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="binutils"
4 VERSION="2.17.50"
5 CATEGORY="development"
6 SHORT_DESC="GNU assembler, linker and binary utilities."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.gnu.org/software/binutils/"
10 #WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
11 WGET_URL="ftp://sourceware.org/pub/binutils/snapshots/$TARBALL"
13 # Rules to configure and make the package.
14 #
15 # First pass: --disable-werror \
16 #
17 compile_rules()
18 {
19 mkdir binutils-build && cd binutils-build
20 ../$PACKAGE-$VERSION/configure \
21 --prefix=/usr \
22 --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 --enable-shared \
25 $CONFIGURE_ARGS
26 make tooldir=/usr
27 # Install in binutils-build/ and then move the files to
28 # to the source tree. Can't install directly... This is done
29 # to keep the $src and $_pkg working for genpkg.
30 make tooldir=/usr DESTDIR=$PWD/_pkg install
31 mv _pkg ../$PACKAGE-$VERSION/
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr
38 cp -a $_pkg/usr/bin $fs/usr
39 cp -a $_pkg/usr/lib $fs/usr
40 cp -a $_pkg/usr/include $fs/usr
42 # libiberty.h
43 cp -a $src/include/libiberty.h $fs/usr/include
45 # Remove libiberty.a (use the one from GCC) and 'strings' (Busybox).
46 rm $fs/usr/lib/libiberty.a
47 rm $fs/usr/bin/strings
48 }