wok view elfutils/receipt @ rev 12639

connman: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Apr 29 21:53:45 2012 +0200 (2012-04-29)
parents e1f534cbd1eb
children 78783f6b1f25
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"
16 BUILD_DEPENDS="bzip2-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure $CONFIGURE_ARGS &&
23 make && make check && 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 }