wok-6.x annotate xz/receipt @ rev 25372

updated trash-cli (0.17.1.14 -> 0.22.4.16)
author Hans-G?nter Theisgen
date Fri Jul 29 14:58:56 2022 +0100 (2022-07-29)
parents 3a53397fd362
children c3e3440b68fb
rev   line source
pascal@4151 1 # SliTaz package receipt.
pascal@4151 2
pascal@4151 3 PACKAGE="xz"
Hans-G?nter@23785 4 VERSION="5.2.5"
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@4151 13 WGET_URL="$WEB_SITE/$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 }