wok view xz/receipt @ rev 25794
created recipe for exo-lang
author | Hans-G?nter Theisgen |
---|---|
date | Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago) |
parents | 1b965c2713aa |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="xz"
4 VERSION="5.6.3"
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 }