wok-next annotate elfkickers/receipt @ rev 21276
try to build gens-gs again
author | Hans-G?nter Theisgen |
---|---|
date | Sat Dec 07 15:51:18 2019 +0100 (2019-12-07) |
parents | 0e7893ac206d |
children | 7c5ce62b7a15 |
rev | line source |
---|---|
al@20443 | 1 # SliTaz package receipt v2. |
pascal@9484 | 2 |
pascal@9484 | 3 PACKAGE="elfkickers" |
devl547@11244 | 4 VERSION="3.0" |
pascal@9484 | 5 CATEGORY="system-tools" |
al@20443 | 6 SHORT_DESC="Misc ELF linker format tools" |
pascal@9484 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15588 | 8 LICENSE="GPL2" |
pascal@9484 | 9 WEB_SITE="http://www.muppetlabs.com/~breadbox/software/elfkickers.html" |
al@20443 | 10 |
al@20443 | 11 TARBALL="ELFkickers-$VERSION.tar.gz" |
pascal@9484 | 12 WGET_URL="http://www.muppetlabs.com/~breadbox/pub/software//$TARBALL" |
pascal@9484 | 13 |
al@20443 | 14 compile_rules() { |
pascal@9484 | 15 sed -i 's|.*asm/elf.h.*|#define ELF_DATA ELFDATA2LSB\n#define ELF_CLASS ELFCLASS32\n#define ELF_ARCH EM_386|' sstrip/sstrip.c |
al@21020 | 16 |
al@21020 | 17 for i in elfls rebind elftoc sstrip; do |
pascal@9484 | 18 cd $i |
al@21020 | 19 make && |
al@21020 | 20 install -Dm755 $i $install/usr/bin/$i |
pascal@9484 | 21 cd .. |
pascal@9484 | 22 done |
pascal@9484 | 23 } |
pascal@9484 | 24 |
al@20443 | 25 genpkg_rules() { |
al@20443 | 26 copy @std |
pascal@9484 | 27 } |