wok-6.x view elfkickers/receipt @ rev 17381

Add incron
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 26 14:59:55 2014 +0100 (2014-11-26)
parents 57ab5e597f30
children 7ebadfdd02af
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 }