wok-6.x view elfutils/receipt @ rev 9717
slitaz-toolchain: Let create a new toolchain in one command for cookutils
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon May 09 01:35:10 2011 +0200 (2011-05-09) |
parents | ae783db76c01 |
children | 129718f02808 |
line source
1 # SliTaz package receipt.
3 PACKAGE="elfutils"
4 VERSION="0.150"
5 CATEGORY="development"
6 SHORT_DESC="ELF object file access library."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 DEPENDS="glibc-base elfutils"
9 BUILD_DEPENDS="binutils"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="https://fedorahosted.org/elfutils/"
12 # Note : use http mirror because https can't be access at elfutils compilation time
13 # when cooking from scratch.
14 #WGET_URL="http://cvs.fedoraproject.org/repo/pkgs/elfutils/$TARBALL/3dcfb28fa339090a1d29a9e148cce469/$TARBALL"
15 WGET_URL="http://gentoo.webm.ru/distfiles/elfutils-0.150.tar.bz2"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure &&
22 make &&
23 make check &&
24 make install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib $fs/usr/bin
31 for i in elfcmp findtextrel unstrip; do
32 cp -a $_pkg/usr/bin/$i $fs/usr/bin
33 done
34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
35 cp -a $_pkg/usr/lib/elfutils $fs/usr/lib
36 }