wok-next view elfkickers/receipt @ rev 19279
Fix typos.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Jul 05 19:30:27 2016 +0300 (2016-07-05) |
parents | 57ab5e597f30 |
children | 0e7893ac206d |
line source
1 # SliTaz package receipt.
3 PACKAGE="elfkickers"
4 VERSION="3.0"
5 SOURCE="ELFkickers"
6 CATEGORY="system-tools"
7 SHORT_DESC="Misc ELF linker format tools."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.muppetlabs.com/~breadbox/software/elfkickers.html"
12 WGET_URL="http://www.muppetlabs.com/~breadbox/pub/software//$TARBALL"
13 #http://www.muppetlabs.com/~breadbox/pub/software/ELFkickers-2.0a.tar.gz
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
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
20 mkdir -p $DESTDIR/usr/bin
21 for i in elfls rebind elftoc sstrip ; do
22 cd $i
23 make && cp $i $DESTDIR/usr/bin
24 cd ..
25 done
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 cp -a $install/* $fs
32 }