wok-next view elfkickers/receipt @ rev 12722
libcap: update WEB_SITE
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 05 12:40:34 2012 +0200 (2012-05-05) |
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 }