wok-next view elfutils/receipt @ rev 12232
Up:ocsinventory-server (2.0.4)
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Mon Apr 09 12:02:02 2012 +0200 (2012-04-09) |
parents | 3597a1f3cf89 |
children | d8c530d5658c |
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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="https://fedorahosted.org/elfutils/"
10 # Note : use http mirror because https can't be access at elfutils compilation time
11 # when cooking from scratch.
12 #WGET_URL="http://cvs.fedoraproject.org/repo/pkgs/elfutils/$TARBALL/3dcfb28fa339090a1d29a9e148cce469/$TARBALL"
13 WGET_URL="http://gentoo.webm.ru/distfiles/$TARBALL"
15 DEPENDS="glibc-base"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure $CONFIGURE_ARGS &&
22 make && make check && make install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib $fs/usr/bin
29 for i in elfcmp findtextrel unstrip; do
30 cp -a $_pkg/usr/bin/$i $fs/usr/bin
31 done
32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
33 cp -a $_pkg/usr/lib/elfutils $fs/usr/lib
34 }