wok-next view elfkickers/receipt @ rev 16701
Up: tazpkg (5.3.1): fix bug with installing coreutils-directory package
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon May 26 16:17:01 2014 +0300 (2014-05-26) |
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 }