wok diff 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
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/elfkickers/receipt	Tue May 17 23:24:56 2011 +0200
     1.3 @@ -0,0 +1,32 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="elfkickers"
     1.7 +VERSION="2.0a"
     1.8 +SOURCE="ELFkickers"
     1.9 +CATEGORY="system-tools"
    1.10 +SHORT_DESC="Misc ELF linker format tools."
    1.11 +MAINTAINER="pascal.bellard@slitaz.org"
    1.12 +TARBALL="$SOURCE-$VERSION.tar.gz"
    1.13 +WEB_SITE="http://www.muppetlabs.com/~breadbox/software/elfkickers.html"
    1.14 +WGET_URL="http://www.muppetlabs.com/~breadbox/pub/software//$TARBALL"
    1.15 +#http://www.muppetlabs.com/~breadbox/pub/software/ELFkickers-2.0a.tar.gz
    1.16 +
    1.17 +# Rules to configure and make the package.
    1.18 +compile_rules()
    1.19 +{
    1.20 +	cd $src
    1.21 +	sed -i 's|.*asm/elf.h.*|#define ELF_DATA ELFDATA2LSB\n#define ELF_CLASS ELFCLASS32\n#define ELF_ARCH EM_386|' sstrip/sstrip.c
    1.22 +	mkdir -p $DESTDIR/usr/bin
    1.23 +	for i in elfls rebind elftoc sstrip ; do
    1.24 +		cd $i
    1.25 +		make && cp $i $DESTDIR/usr/bin
    1.26 +		cd ..
    1.27 +	done
    1.28 +}
    1.29 +
    1.30 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.31 +genpkg_rules()
    1.32 +{
    1.33 +	cp -a $_pkg/* $fs
    1.34 +}
    1.35 +