wok-stable view elfkickers/receipt @ rev 10026

gmp, mpc-library, mpfr: fix build system wirh --build and --host from CONFIGURE_ARGS
author Christophe Lincoln <pankso@slitaz.org>
date Thu May 19 21:14:41 2011 +0200 (2011-05-19)
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 }