wok-6.x view elfutils/receipt @ rev 8178
imported patch toolchain/elfutils.patch
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Thu Jan 27 00:20:49 2011 +0100 (2011-01-27) |
parents | c5b5031d956b |
children | ae783db76c01 |
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"
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"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure &&
21 make &&
22 make check &&
23 make install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib $fs/usr/bin
30 for i in elfcmp findtextrel unstrip; do
31 cp -a $_pkg/usr/bin/$i $fs/usr/bin
32 done
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 cp -a $_pkg/usr/lib/elfutils $fs/usr/lib
35 }