wok-stable view elfutils/receipt @ rev 6863
Up: frei0r-plugins to 1.2.1.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Oct 20 12:56:13 2010 +0000 (2010-10-20) |
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 }