wok-4.x annotate elfutils/receipt @ rev 8395
Add new url to elfutils since the older one is not working anymore.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Feb 05 00:19:11 2011 +0000 (2011-02-05) |
parents | 450d417ccaa2 |
children | eefa66c18286 |
rev | line source |
---|---|
pascal@5942 | 1 # SliTaz package receipt. |
pascal@5942 | 2 |
pascal@5942 | 3 PACKAGE="elfutils" |
slaxemulator@8069 | 4 VERSION="0.150" |
pascal@5942 | 5 CATEGORY="development" |
pascal@5942 | 6 SHORT_DESC="ELF object file access library." |
pascal@5942 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
gokhlayeh@8178 | 8 DEPENDS="glibc-base" |
gokhlayeh@8178 | 9 BUILD_DEPENDS="binutils" |
pascal@5942 | 10 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
gokhlayeh@8178 | 11 WEB_SITE="https://fedorahosted.org/elfutils/" |
gokhlayeh@8178 | 12 # Note : use http mirror because https can't be access at elfutils compilation time |
gokhlayeh@8178 | 13 # when cooking from scratch. |
slaxemulator@8395 | 14 #WGET_URL="http://cvs.fedoraproject.org/repo/pkgs/elfutils/$TARBALL/3dcfb28fa339090a1d29a9e148cce469/$TARBALL" |
slaxemulator@8395 | 15 WGET_URL="http://gentoo.webm.ru/distfiles/elfutils-0.150.tar.bz2" |
pascal@5942 | 16 |
pascal@5942 | 17 # Rules to configure and make the package. |
pascal@5942 | 18 compile_rules() |
pascal@5942 | 19 { |
pascal@5942 | 20 cd $src |
gokhlayeh@8178 | 21 ./configure && |
pascal@5942 | 22 make && |
slaxemulator@6931 | 23 make check && |
gokhlayeh@8178 | 24 make install |
pascal@5942 | 25 } |
pascal@5942 | 26 |
pascal@5942 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@5942 | 28 genpkg_rules() |
pascal@5942 | 29 { |
pascal@5942 | 30 mkdir -p $fs/usr/lib $fs/usr/bin |
pascal@5942 | 31 for i in elfcmp findtextrel unstrip; do |
pascal@5942 | 32 cp -a $_pkg/usr/bin/$i $fs/usr/bin |
pascal@5942 | 33 done |
pascal@5942 | 34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@5942 | 35 cp -a $_pkg/usr/lib/elfutils $fs/usr/lib |
pascal@5942 | 36 } |