wok-next view elfutils/receipt @ rev 12767
Up: dovecot to 2.1.6.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat May 12 11:29:42 2012 +0000 (2012-05-12) |
parents | d8c530d5658c |
children | 2ce43b9c164d |
line source
1 # SliTaz package receipt.
3 PACKAGE="elfutils"
4 VERSION="0.153"
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"
14 WGET_URL="https://fedorahosted.org/releases/e/l/$PACKAGE/$VERSION/$TARBALL"
16 DEPENDS="glibc-base"
17 BUILD_DEPENDS="wget bzip2-dev liblzma-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 sed -i 's/run-strip-reloc.sh//' tests/Makefile* # Need cc -g !
24 ./configure $CONFIGURE_ARGS &&
25 make && make check && make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib $fs/usr/bin
32 for i in elfcmp findtextrel unstrip; do
33 cp -a $_pkg/usr/bin/$i $fs/usr/bin
34 done
35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
36 cp -a $_pkg/usr/lib/elfutils $fs/usr/lib
37 }