wok view binutils/receipt @ rev 3392
Ren: docutils -> python-docutils
author | Claudinei Pereira <claudinei@slitaz.org> |
---|---|
date | Fri Jun 12 00:07:46 2009 +0000 (2009-06-12) |
parents | 583bdd691510 |
children | 92e8ac5a4240 |
line source
1 # SliTaz package receipt.
3 PACKAGE="binutils"
4 VERSION="2.19.1"
5 CATEGORY="development"
6 SHORT_DESC="GNU assembler, linker and binary utilities."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 DEPENDS="zlib"
10 WEB_SITE="http://www.gnu.org/software/binutils/"
11 WGET_URL="$GNU_MIRROR/$PACKAGE/$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 'strings' (Busybox).
46 #rm $fs/usr/lib/libiberty.a
47 rm $fs/usr/bin/strings
48 }