wok annotate elfkickers/receipt @ rev 9925

apr: use --with-egd --with-devrandom (apache dont build)
author Christophe Lincoln <pankso@slitaz.org>
date Tue May 17 23:24:56 2011 +0200 (2011-05-17)
parents
children 57ab5e597f30
rev   line source
pascal@9484 1 # SliTaz package receipt.
pascal@9484 2
pascal@9484 3 PACKAGE="elfkickers"
pascal@9484 4 VERSION="2.0a"
pascal@9484 5 SOURCE="ELFkickers"
pascal@9484 6 CATEGORY="system-tools"
pascal@9484 7 SHORT_DESC="Misc ELF linker format tools."
pascal@9484 8 MAINTAINER="pascal.bellard@slitaz.org"
pascal@9484 9 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@9484 10 WEB_SITE="http://www.muppetlabs.com/~breadbox/software/elfkickers.html"
pascal@9484 11 WGET_URL="http://www.muppetlabs.com/~breadbox/pub/software//$TARBALL"
pascal@9484 12 #http://www.muppetlabs.com/~breadbox/pub/software/ELFkickers-2.0a.tar.gz
pascal@9484 13
pascal@9484 14 # Rules to configure and make the package.
pascal@9484 15 compile_rules()
pascal@9484 16 {
pascal@9484 17 cd $src
pascal@9484 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
pascal@9484 19 mkdir -p $DESTDIR/usr/bin
pascal@9484 20 for i in elfls rebind elftoc sstrip ; do
pascal@9484 21 cd $i
pascal@9484 22 make && cp $i $DESTDIR/usr/bin
pascal@9484 23 cd ..
pascal@9484 24 done
pascal@9484 25 }
pascal@9484 26
pascal@9484 27 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@9484 28 genpkg_rules()
pascal@9484 29 {
pascal@9484 30 cp -a $_pkg/* $fs
pascal@9484 31 }
pascal@9484 32