wok-next view elfkickers/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | 0e7893ac206d |
children | 7c5ce62b7a15 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="elfkickers"
4 VERSION="3.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Misc ELF linker format tools"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.muppetlabs.com/~breadbox/software/elfkickers.html"
11 TARBALL="ELFkickers-$VERSION.tar.gz"
12 WGET_URL="http://www.muppetlabs.com/~breadbox/pub/software//$TARBALL"
14 compile_rules() {
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
17 for i in elfls rebind elftoc sstrip; do
18 cd $i
19 make &&
20 install -Dm755 $i $install/usr/bin/$i
21 cd ..
22 done
23 }
25 genpkg_rules() {
26 copy @std
27 }