wok-6.x annotate patchelf/receipt @ rev 24787
lxqt-panel: worldclock plugin removed
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 21 09:17:44 2022 +0100 (2022-03-21) |
parents | a4a9b130531d |
children | 71cb04ed3d1b |
rev | line source |
---|---|
pascal@17499 | 1 # SliTaz package receipt. |
pascal@17499 | 2 |
pascal@17499 | 3 PACKAGE="patchelf" |
Hans-G?nter@21663 | 4 VERSION="0.10" |
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" |
pascal@23596 | 9 WEB_SITE="http://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 && |
pascal@17499 | 35 make DESTDIR=$DESTDIR install |
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 { |
pascal@17499 | 41 mkdir -p $fs/usr |
pascal@17499 | 42 cp -a $install/usr/bin $fs/usr |
pascal@17499 | 43 } |