wok-6.x view patchelf/receipt @ rev 24575

updated fsarchiver (0.8.5 -> 0.8.6)
author Hans-G?nter Theisgen
date Sun Feb 27 10:36:21 2022 +0100 (2022-02-27)
parents a4a9b130531d
children 71cb04ed3d1b
line source
1 # SliTaz package receipt.
3 PACKAGE="patchelf"
4 VERSION="0.10"
5 CATEGORY="development"
6 SHORT_DESC="Modify the dynamic linker and RPATH of ELF executables."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="http://nixos.org/patchelf.html"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/NixOS/$PACKAGE/archive/$VERSION.tar.gz"
14 DEPENDS="gcc83-lib-base"
15 BUILD_DEPENDS="automake gcc83"
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 export CC=gcc-83
27 export CXX=g++-83
29 ./bootstrap.sh &&
30 ./configure \
31 --prefix=/usr \
32 --mandir=/usr/share/man \
33 $CONFIGURE_ARGS &&
34 make &&
35 make DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr
42 cp -a $install/usr/bin $fs/usr
43 }