wok-current annotate xz/receipt @ rev 25702
Up git (CVE-2024-32002,CVE-2024-32004,CVE-2024-32020,CVE-2024-32021,CVE-2024-32465), gdk-pixbuf CVE-2022-48622, up linux 5.10.217
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Mon May 20 11:38:26 2024 +0000 (7 months ago) |
parents | c3e3440b68fb |
children |
rev | line source |
---|---|
pascal@4151 | 1 # SliTaz package receipt. |
pascal@4151 | 2 |
pascal@4151 | 3 PACKAGE="xz" |
pascal@25439 | 4 VERSION="5.2.6" |
pascal@4151 | 5 CATEGORY="base-system" |
Hans-G?nter@23785 | 6 TAGS="compression archive" |
pascal@4151 | 7 SHORT_DESC="General-purpose data compressor with a high compression ratio." |
pascal@4151 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14799 | 9 LICENSE="PublicDomain LGPL2.1 GPL2 GPL3" |
Hans-G?nter@23785 | 10 WEB_SITE="https://tukaani.org/xz" |
Hans-G?nter@23785 | 11 |
pascal@18337 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pascal@25449 | 13 WGET_URL="$SF_MIRROR/lzmautils/$TARBALL" |
pascal@4151 | 14 |
pascal@14799 | 15 DEPENDS="liblzma" |
pascal@14799 | 16 BUILD_DEPENDS="" |
pankso@12913 | 17 |
Hans-G?nter@23785 | 18 HOST_ARCH="i486 arm x86_64" |
Hans-G?nter@23785 | 19 |
pascal@24304 | 20 # What is the latest version available today? |
pascal@24304 | 21 current_version() |
pascal@24304 | 22 { |
pascal@24304 | 23 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24304 | 24 sed '/was released/!d;s| .*||;q' |
pascal@24304 | 25 } |
pascal@24304 | 26 |
pascal@4151 | 27 # Rules to configure and make the package. |
pascal@4151 | 28 compile_rules() |
pascal@4151 | 29 { |
Hans-G?nter@23785 | 30 ./configure \ |
Hans-G?nter@23785 | 31 --enable-dynamic=yes \ |
Hans-G?nter@23785 | 32 --enable-small \ |
pankso@12811 | 33 $CONFIGURE_ARGS && |
Hans-G?nter@23785 | 34 make && |
Hans-G?nter@23785 | 35 make install |
pascal@4151 | 36 } |
pascal@4151 | 37 |
pascal@4151 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@4151 | 39 genpkg_rules() |
pascal@4151 | 40 { |
Hans-G?nter@23785 | 41 mkdir -p $fs/usr/bin |
Hans-G?nter@23785 | 42 cp -a $install/usr/bin/xz $fs/usr/bin |
pascal@4151 | 43 } |