wok-4.x annotate elfutils/receipt @ rev 6159
Up: aria2 to 1.10.2.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Sep 09 23:29:47 2010 +0000 (2010-09-09) |
parents | |
children | 8346e7a4c25f |
rev | line source |
---|---|
pascal@5942 | 1 # SliTaz package receipt. |
pascal@5942 | 2 |
pascal@5942 | 3 PACKAGE="elfutils" |
pascal@5942 | 4 VERSION="0.148" |
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" |
pascal@5942 | 9 WEB_SITE="http://fedorahosted.org/elfutils/" |
pascal@5942 | 10 WGET_URL="http://fedorahosted.org/releases/e/l/$PACKAGE/$TARBALL" |
pascal@5942 | 11 |
pascal@5942 | 12 # Rules to configure and make the package. |
pascal@5942 | 13 compile_rules() |
pascal@5942 | 14 { |
pascal@5942 | 15 cd $src |
pascal@5942 | 16 ./configure --prefix=/usr --infodir=/usr/share/info \ |
pascal@5942 | 17 --mandir=/usr/share/man \ |
pascal@5942 | 18 $CONFIGURE_ARGS && |
pascal@5942 | 19 make && |
pascal@5942 | 20 make DESTDIR=$PWD/_pkg install |
pascal@5942 | 21 } |
pascal@5942 | 22 |
pascal@5942 | 23 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@5942 | 24 genpkg_rules() |
pascal@5942 | 25 { |
pascal@5942 | 26 mkdir -p $fs/usr/lib $fs/usr/bin |
pascal@5942 | 27 for i in elfcmp findtextrel unstrip; do |
pascal@5942 | 28 cp -a $_pkg/usr/bin/$i $fs/usr/bin |
pascal@5942 | 29 done |
pascal@5942 | 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@5942 | 31 cp -a $_pkg/usr/lib/elfutils $fs/usr/lib |
pascal@5942 | 32 } |