wok view xz/receipt @ rev 19272

xz: enable lzma update
author Richard Dunbar <mojo@slitaz.org>
date Mon Jul 04 11:33:24 2016 -0400 (2016-07-04)
parents 6fab3264ba87
children a6c5dc96c0a5
line source
1 # SliTaz package receipt.
3 PACKAGE="xz"
4 VERSION="5.2.1"
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 }