wok view elfkickers/receipt @ rev 25427

updated xapian and xapian-dev (1.4.15 -> 1.4.20)
author Hans-G?nter Theisgen
date Thu Aug 18 17:00:01 2022 +0100 (2022-08-18)
parents bfabe25c21ff
children
line source
1 # SliTaz package receipt.
3 PACKAGE="elfkickers"
4 VERSION="3.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="Misc ELF linker format tools."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.muppetlabs.com/~breadbox/software/elfkickers.html"
11 SOURCE="ELFkickers"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="https://www.muppetlabs.com/~breadbox/pub/software/$TARBALL"
15 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - ${WGET_URL%/*} 2>/dev/null | \
19 sed "/latest/d;/$SOURCE-[0-9]/!d;/tar/!d;s|.*$SOURCE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 sed -i 's|.*asm/elf.h.*|#define ELF_DATA ELFDATA2LSB\n#define ELF_CLASS ELFCLASS32\n#define ELF_ARCH EM_386|' \
26 sstrip/sstrip.c
27 mkdir -p $DESTDIR/usr/bin
28 for i in elfls rebind elftoc sstrip
29 do
30 cd $i
31 make &&
32 cp $i $DESTDIR/usr/bin
33 cd ..
34 done
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 cp -a $install/* $fs
41 }