wok-current view patchelf/receipt @ rev 25266
gdk-pixbuf: added dependency libjpeg
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 15 13:56:48 2022 +0100 (2022-07-15) |
parents | 5ea0ce1cecc0 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="patchelf"
4 VERSION="0.14.5"
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="https://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 install DESTDIR=$DESTDIR
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 cook_copy_folders bin
42 }