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