wok-current view xz/receipt @ rev 4151

Add xz
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Sep 21 08:59:53 2009 +0200 (2009-09-21)
parents
children 6ef3727f527d
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"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 ./configure --prefix=/usr --infodir=/usr/share/info \
17 --mandir=/usr/share/man \
18 --enable-dynamic=yes --enable-small \
19 $CONFIGURE_ARGS &&
20 make &&
21 make DESTDIR=$PWD/_pkg install
22 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/bin $fs/usr/lib
29 cp -a $_pkg/usr/bin/xz $fs/usr/bin
30 cp -a $_pkg/usr/lib/liblzma.so* $fs/usr/lib
31 }