wok view xz/receipt @ rev 25780

Add apultra & lzav
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Sep 23 14:15:08 2024 +0000 (8 weeks ago)
parents 6023b31d568c
children 54b8c7c6fe47
line source
1 # SliTaz package receipt.
3 PACKAGE="xz"
4 VERSION="5.6.2"
5 CATEGORY="base-system"
6 TAGS="compression archive"
7 SHORT_DESC="General-purpose data compressor with a high compression ratio."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="PublicDomain LGPL2.1 GPL2 GPL3"
10 WEB_SITE="https://tukaani.org/xz"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$SF_MIRROR/lzmautils/$TARBALL"
15 DEPENDS="liblzma"
16 BUILD_DEPENDS=""
18 HOST_ARCH="i486 arm x86_64"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - $WEB_SITE 2>/dev/null | \
24 sed '/tar..z/!d;s|.*xz-||;s|.tar.*||;q'
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 ./configure \
31 --enable-dynamic=yes \
32 --enable-small \
33 $CONFIGURE_ARGS &&
34 make &&
35 make install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/bin
42 cp -a $install/usr/bin/xz $fs/usr/bin
43 }