wok-6.x view elfkickers/receipt @ rev 12848
Up: ffplay (0.10.3)
author | Dominique Corbex <domcox@slitaz.org> |
---|---|
date | Wed May 23 13:01:12 2012 +0200 (2012-05-23) |
parents | 6b7888e601d8 |
children | fcdd50638150 |
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 TARBALL="$SOURCE-$VERSION.tar.gz"
10 WEB_SITE="http://www.muppetlabs.com/~breadbox/software/elfkickers.html"
11 WGET_URL="http://www.muppetlabs.com/~breadbox/pub/software//$TARBALL"
12 #http://www.muppetlabs.com/~breadbox/pub/software/ELFkickers-2.0a.tar.gz
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 sed -i 's|.*asm/elf.h.*|#define ELF_DATA ELFDATA2LSB\n#define ELF_CLASS ELFCLASS32\n#define ELF_ARCH EM_386|' sstrip/sstrip.c
19 mkdir -p $DESTDIR/usr/bin
20 for i in elfls rebind elftoc sstrip ; do
21 cd $i
22 make && cp $i $DESTDIR/usr/bin
23 cd ..
24 done
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 cp -a $_pkg/* $fs
31 }