wok-current view xz/receipt @ rev 20250

firefox: force 32 bits arch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Mar 12 16:48:27 2018 +0100 (2018-03-12)
parents fdd9d234450c
children 46f4f0519187
line source
1 # SliTaz package receipt.
3 PACKAGE="xz"
4 VERSION="5.2.3"
5 CATEGORY="base-system"
6 SHORT_DESC="General-purpose data compressor with a high compression ratio."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="PublicDomain LGPL2.1 GPL2 GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://tukaani.org/xz"
11 WGET_URL="$WEB_SITE/$TARBALL"
12 TAGS="compression archive"
13 HOST_ARCH="i486 arm x86_64"
15 DEPENDS="liblzma"
16 BUILD_DEPENDS=""
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 ./configure \
22 --enable-dynamic=yes \
23 --enable-small \
24 $CONFIGURE_ARGS &&
25 make && make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/bin $fs/usr/lib
32 cp -a $install/usr/bin/xz $fs/usr/bin
33 }