wok annotate elfkickers/receipt @ rev 22014

updated tcptrack (1.4.2 -> 1.4.3)
author Hans-G?nter Theisgen
date Sat Oct 19 16:30:51 2019 +0100 (2019-10-19)
parents fcdd50638150
children bfabe25c21ff
rev   line source
pascal@9484 1 # SliTaz package receipt.
pascal@9484 2
pascal@9484 3 PACKAGE="elfkickers"
pascal@19851 4 VERSION="3.1"
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@15588 9 LICENSE="GPL2"
pascal@9484 10 TARBALL="$SOURCE-$VERSION.tar.gz"
pascal@9484 11 WEB_SITE="http://www.muppetlabs.com/~breadbox/software/elfkickers.html"
pascal@9484 12 WGET_URL="http://www.muppetlabs.com/~breadbox/pub/software//$TARBALL"
pascal@9484 13
pascal@9484 14 # Rules to configure and make the package.
pascal@9484 15 compile_rules()
pascal@9484 16 {
pascal@9484 17 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 18 mkdir -p $DESTDIR/usr/bin
pascal@9484 19 for i in elfls rebind elftoc sstrip ; do
pascal@9484 20 cd $i
pascal@9484 21 make && cp $i $DESTDIR/usr/bin
pascal@9484 22 cd ..
pascal@9484 23 done
pascal@9484 24 }
pascal@9484 25
pascal@9484 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@9484 27 genpkg_rules()
pascal@9484 28 {
pascal@15588 29 cp -a $install/* $fs
pascal@9484 30 }