wok-next view elfkickers/receipt @ rev 20674
Up putty (0.70)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat May 12 05:17:48 2018 +0300 (2018-05-12) |
parents | fcdd50638150 |
children | d5aab818505e |
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
16 mkdir -p $DESTDIR/usr/bin
17 for i in elfls rebind elftoc sstrip ; do
18 cd $i
19 make && cp $i $DESTDIR/usr/bin
20 cd ..
21 done
22 }
24 genpkg_rules() {
25 copy @std
26 }