wok view elfkickers/receipt @ rev 20600
Up date gst-plugins-good
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Dec 16 22:01:26 2018 +0100 (2018-12-16) |
parents | fcdd50638150 |
children | bfabe25c21ff |
line source
1 # SliTaz package receipt.
3 PACKAGE="elfkickers"
4 VERSION="3.1"
5 SOURCE="ELFkickers"
6 CATEGORY="system-tools"
7 SHORT_DESC="Misc ELF linker format tools."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 TARBALL="$SOURCE-$VERSION.tar.gz"
11 WEB_SITE="http://www.muppetlabs.com/~breadbox/software/elfkickers.html"
12 WGET_URL="http://www.muppetlabs.com/~breadbox/pub/software//$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
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
18 mkdir -p $DESTDIR/usr/bin
19 for i in elfls rebind elftoc sstrip ; do
20 cd $i
21 make && cp $i $DESTDIR/usr/bin
22 cd ..
23 done
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 cp -a $install/* $fs
30 }