wok-next annotate elfkickers/receipt @ rev 20443

The rest of my "home work" for update many packages (up to Xorg, GTK and Openbox) for Next and mainly for Next64. Since this point this repository is open for commits. Many errors are expected due to harfbuzz-freetype dependency loop...
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Feb 24 16:17:33 2018 +0200 (2018-02-24)
parents fcdd50638150
children d5aab818505e
rev   line source
al@20443 1 # SliTaz package receipt v2.
pascal@9484 2
pascal@9484 3 PACKAGE="elfkickers"
devl547@11244 4 VERSION="3.0"
pascal@9484 5 CATEGORY="system-tools"
al@20443 6 SHORT_DESC="Misc ELF linker format tools"
pascal@9484 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15588 8 LICENSE="GPL2"
pascal@9484 9 WEB_SITE="http://www.muppetlabs.com/~breadbox/software/elfkickers.html"
al@20443 10
al@20443 11 TARBALL="ELFkickers-$VERSION.tar.gz"
pascal@9484 12 WGET_URL="http://www.muppetlabs.com/~breadbox/pub/software//$TARBALL"
pascal@9484 13
al@20443 14 compile_rules() {
pascal@9484 15 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 16 mkdir -p $DESTDIR/usr/bin
pascal@9484 17 for i in elfls rebind elftoc sstrip ; do
pascal@9484 18 cd $i
pascal@9484 19 make && cp $i $DESTDIR/usr/bin
pascal@9484 20 cd ..
pascal@9484 21 done
pascal@9484 22 }
pascal@9484 23
al@20443 24 genpkg_rules() {
al@20443 25 copy @std
pascal@9484 26 }