wok view xz/receipt @ rev 25439

Up xz (5.2.6)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Sep 01 16:28:38 2022 +0000 (20 months ago)
parents 922f061231c2
children 6023b31d568c
line source
1 # SliTaz package receipt.
3 PACKAGE="xz"
4 VERSION="5.2.6"
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="$WEB_SITE/$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 '/was released/!d;s| .*||;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 }