wok view elfkickers/receipt @ rev 14614

Up: php to 5.4.13.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Jun 01 06:40:14 2013 +0000 (2013-06-01)
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 }