wok-4.x view elfkickers/receipt @ rev 11094

Up: devede to 3.17.0.
author Christopher Rogers <slaxemulator@gmail.com>
date Mon Oct 17 02:47:45 2011 +0000 (2011-10-17)
parents
children 57ab5e597f30
line source
1 # SliTaz package receipt.
3 PACKAGE="elfkickers"
4 VERSION="2.0a"
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 }