wok view xz/receipt @ rev 24712
updated less (551 -> 590)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 14 17:50:02 2022 +0100 (2022-03-14) |
parents | 3a53397fd362 |
children | c3e3440b68fb |
line source
1 # SliTaz package receipt.
3 PACKAGE="xz"
4 VERSION="5.2.5"
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 }