wok-current view xz/receipt @ rev 25595
Patch asunder to build with gcc 6.3.0
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Thu Aug 31 19:56:54 2023 +0000 (14 months ago) |
parents | c3e3440b68fb |
children |
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="$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 '/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 }