wok-current annotate elfkickers/receipt @ rev 16095
ARMadd fbff, fbgrab, fbida, fbvnc, libexif. Fixe and update receipt
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Mar 16 19:34:26 2014 +0100 (2014-03-16) |
parents | 57ab5e597f30 |
children | 7ebadfdd02af |
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@15588 | 9 LICENSE="GPL2" |
pascal@9484 | 10 TARBALL="$SOURCE-$VERSION.tar.gz" |
pascal@9484 | 11 WEB_SITE="http://www.muppetlabs.com/~breadbox/software/elfkickers.html" |
pascal@9484 | 12 WGET_URL="http://www.muppetlabs.com/~breadbox/pub/software//$TARBALL" |
pascal@9484 | 13 #http://www.muppetlabs.com/~breadbox/pub/software/ELFkickers-2.0a.tar.gz |
pascal@9484 | 14 |
pascal@9484 | 15 # Rules to configure and make the package. |
pascal@9484 | 16 compile_rules() |
pascal@9484 | 17 { |
pascal@9484 | 18 cd $src |
pascal@9484 | 19 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 | 20 mkdir -p $DESTDIR/usr/bin |
pascal@9484 | 21 for i in elfls rebind elftoc sstrip ; do |
pascal@9484 | 22 cd $i |
pascal@9484 | 23 make && cp $i $DESTDIR/usr/bin |
pascal@9484 | 24 cd .. |
pascal@9484 | 25 done |
pascal@9484 | 26 } |
pascal@9484 | 27 |
pascal@9484 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@9484 | 29 genpkg_rules() |
pascal@9484 | 30 { |
pascal@15588 | 31 cp -a $install/* $fs |
pascal@9484 | 32 } |
pascal@9484 | 33 |