wok-next annotate elfutils/receipt @ rev 12757

Up elfutils (0.153)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat May 12 10:22:41 2012 +0200 (2012-05-12)
parents d8c530d5658c
children 2ce43b9c164d
rev   line source
pascal@5942 1 # SliTaz package receipt.
pascal@5942 2
pascal@5942 3 PACKAGE="elfutils"
pascal@12757 4 VERSION="0.153"
pascal@5942 5 CATEGORY="development"
pascal@5942 6 SHORT_DESC="ELF object file access library."
pascal@5942 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@5942 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
gokhlayeh@8178 9 WEB_SITE="https://fedorahosted.org/elfutils/"
gokhlayeh@8178 10 # Note : use http mirror because https can't be access at elfutils compilation time
gokhlayeh@8178 11 # when cooking from scratch.
slaxemulator@8395 12 #WGET_URL="http://cvs.fedoraproject.org/repo/pkgs/elfutils/$TARBALL/3dcfb28fa339090a1d29a9e148cce469/$TARBALL"
pascal@12757 13 #WGET_URL="http://gentoo.webm.ru/distfiles/$TARBALL"
pascal@12757 14 WGET_URL="https://fedorahosted.org/releases/e/l/$PACKAGE/$VERSION/$TARBALL"
slaxemulator@10576 15
pascal@11583 16 DEPENDS="glibc-base"
pascal@12757 17 BUILD_DEPENDS="wget bzip2-dev liblzma-dev"
pascal@5942 18
pascal@5942 19 # Rules to configure and make the package.
pascal@5942 20 compile_rules()
pascal@5942 21 {
pascal@5942 22 cd $src
pascal@12757 23 sed -i 's/run-strip-reloc.sh//' tests/Makefile* # Need cc -g !
pankso@10027 24 ./configure $CONFIGURE_ARGS &&
pankso@10027 25 make && make check && make install
pascal@5942 26 }
pascal@5942 27
pascal@5942 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@5942 29 genpkg_rules()
pascal@5942 30 {
pascal@5942 31 mkdir -p $fs/usr/lib $fs/usr/bin
pascal@5942 32 for i in elfcmp findtextrel unstrip; do
pascal@5942 33 cp -a $_pkg/usr/bin/$i $fs/usr/bin
pascal@5942 34 done
pascal@5942 35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pascal@5942 36 cp -a $_pkg/usr/lib/elfutils $fs/usr/lib
pascal@5942 37 }