wok-6.x annotate elfkickers/receipt @ rev 12848
Up: ffplay (0.10.3)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Wed May 23 13:01:12 2012 +0200 (2012-05-23) |
parents | 6b7888e601d8 |
children | fcdd50638150 |
rev | line source |
---|---|
pascal@9484 | 1 # SliTaz package receipt. |
pascal@9484 | 2 |
pascal@9484 | 3 PACKAGE="elfkickers" |
devl547@11244 | 4 VERSION="3.0" |
pascal@9484 | 5 SOURCE="ELFkickers" |
pascal@9484 | 6 CATEGORY="system-tools" |
pascal@9484 | 7 SHORT_DESC="Misc ELF linker format tools." |
pascal@9484 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@9484 | 9 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@9484 | 10 WEB_SITE="http://www.muppetlabs.com/~breadbox/software/elfkickers.html" |
pascal@9484 | 11 WGET_URL="http://www.muppetlabs.com/~breadbox/pub/software//$TARBALL" |
pascal@9484 | 12 #http://www.muppetlabs.com/~breadbox/pub/software/ELFkickers-2.0a.tar.gz |
pascal@9484 | 13 |
pascal@9484 | 14 # Rules to configure and make the package. |
pascal@9484 | 15 compile_rules() |
pascal@9484 | 16 { |
pascal@9484 | 17 cd $src |
pascal@9484 | 18 sed -i 's|.*asm/elf.h.*|#define ELF_DATA ELFDATA2LSB\n#define ELF_CLASS ELFCLASS32\n#define ELF_ARCH EM_386|' sstrip/sstrip.c |
pascal@9484 | 19 mkdir -p $DESTDIR/usr/bin |
pascal@9484 | 20 for i in elfls rebind elftoc sstrip ; do |
pascal@9484 | 21 cd $i |
pascal@9484 | 22 make && cp $i $DESTDIR/usr/bin |
pascal@9484 | 23 cd .. |
pascal@9484 | 24 done |
pascal@9484 | 25 } |
pascal@9484 | 26 |
pascal@9484 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@9484 | 28 genpkg_rules() |
pascal@9484 | 29 { |
pascal@9484 | 30 cp -a $_pkg/* $fs |
pascal@9484 | 31 } |
pascal@9484 | 32 |