wok view xz/receipt @ rev 24145

ventoy: set arch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 17 10:14:59 2021 +0000 (2021-11-17)
parents 46f4f0519187
children 922f061231c2
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 # Rules to configure and make the package.
21 compile_rules()
22 {
23 ./configure \
24 --enable-dynamic=yes \
25 --enable-small \
26 $CONFIGURE_ARGS &&
27 make &&
28 make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/bin
35 cp -a $install/usr/bin/xz $fs/usr/bin
36 }