wok view xz/receipt @ rev 4230

Fix: patch xfe to build with gcc-4.x
author Christophe Lincoln <pankso@slitaz.org>
date Thu Sep 24 15:03:32 2009 +0200 (2009-09-24)
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 }