wok-current view elfkickers/receipt @ rev 23935
syslinux/isohybrid: force GPT detection
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 09 12:44:57 2020 +0000 (2020-09-09) |
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 }