wok-current view elfutils/receipt @ rev 6062
tazbb: preserve hotfixes in tazwok & tazpkg
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Aug 21 13:58:44 2010 +0200 (2010-08-21) |
parents | |
children | 8346e7a4c25f |
line source
1 # SliTaz package receipt.
3 PACKAGE="elfutils"
4 VERSION="0.148"
5 CATEGORY="development"
6 SHORT_DESC="ELF object file access library."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://fedorahosted.org/elfutils/"
10 WGET_URL="http://fedorahosted.org/releases/e/l/$PACKAGE/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 ./configure --prefix=/usr --infodir=/usr/share/info \
17 --mandir=/usr/share/man \
18 $CONFIGURE_ARGS &&
19 make &&
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/lib $fs/usr/bin
27 for i in elfcmp findtextrel unstrip; do
28 cp -a $_pkg/usr/bin/$i $fs/usr/bin
29 done
30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
31 cp -a $_pkg/usr/lib/elfutils $fs/usr/lib
32 }