wok-6.x view xz/receipt @ rev 4702

squashfs: add lzma support
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jan 03 18:38:54 2010 +0100 (2010-01-03)
parents 672edf7039fd
children a7edf66b8b58
line source
1 # SliTaz package receipt.
3 PACKAGE="xz"
4 VERSION="4.999.9beta"
5 CATEGORY="base-system"
6 SHORT_DESC="General-purpose data compressor with a high compression ratio."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://tukaani.org/xz"
10 WGET_URL="$WEB_SITE/$TARBALL"
11 PROVIDE="liblzma"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --prefix=/usr --infodir=/usr/share/info \
18 --mandir=/usr/share/man \
19 --enable-dynamic=yes --enable-small \
20 $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$PWD/_pkg install
23 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/bin $fs/usr/lib
30 cp -a $_pkg/usr/bin/xz $fs/usr/bin
31 cp -a $_pkg/usr/lib/liblzma.so* $fs/usr/lib
32 }