wok annotate xz/receipt @ rev 25780
Add apultra & lzav
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Sep 23 14:15:08 2024 +0000 (2 months ago) |
parents | 6023b31d568c |
children | 54b8c7c6fe47 |
rev | line source |
---|---|
pascal@4151 | 1 # SliTaz package receipt. |
pascal@4151 | 2 |
pascal@4151 | 3 PACKAGE="xz" |
pascal@25731 | 4 VERSION="5.6.2" |
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@25731 | 24 sed '/tar..z/!d;s|.*xz-||;s|.tar.*||;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 } |