wok diff binutils/receipt @ rev 88
Add : xf86* proto + libs
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Jan 02 22:25:26 2008 +0100 (2008-01-02) |
parents | |
children | 17a39e4461e4 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/binutils/receipt Wed Jan 02 22:25:26 2008 +0100 1.3 @@ -0,0 +1,43 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="binutils" 1.7 +VERSION="2.17" 1.8 +CATEGORY="extra" 1.9 +SHORT_DESC="GNU assembler, linker and binary utilities." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.12 +WEB_SITE="http://www.gnu.org/software/binutils/" 1.13 +WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" 1.14 + 1.15 +# Rules to configure and make the package. 1.16 +compile_rules() 1.17 +{ 1.18 + mkdir binutils-build && cd binutils-build 1.19 + ../$PACKAGE-$VERSION/configure --prefix=/usr \ 1.20 + --infodir=/usr/share/info --mandir=/usr/share/man \ 1.21 + --enable-shared $CONFIGURE_ARGS 1.22 + make tooldir=/usr 1.23 + # Install in binutils-build/ and then move the files to 1.24 + # to the source tree. Can't install directly... This is done 1.25 + # to keep the $src and $_pkg working for genpkg. 1.26 + make tooldir=/usr DESTDIR=$PWD/_pkg install 1.27 + mv _pkg ../$PACKAGE-$VERSION/ 1.28 +} 1.29 + 1.30 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.31 +genpkg_rules() 1.32 +{ 1.33 + mkdir -p $fs/usr/share/locale 1.34 + cp -a $_pkg/usr/bin $fs/usr 1.35 + cp -a $_pkg/usr/lib $fs/usr 1.36 + cp -a $_pkg/usr/include $fs/usr 1.37 + cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale 1.38 + # libiberty.h 1.39 + cp -a $src/include/libiberty.h $fs/usr/include 1.40 + # Remove libiberty.a (use the one from GCC) and 'strings' (Busybox). 1.41 + rm $fs/usr/lib/libiberty.a 1.42 + rm $fs/usr/bin/strings 1.43 + # Da strip... 1.44 + strip --strip-debug $fs/usr/bin/* 1.45 + strip --strip-debug $fs/usr/lib/*.so* 1.46 +}