wok-next view xz/receipt @ rev 4863
xz: add wrapper...
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 03 22:37:34 2010 +0100 (2010-02-03) |
parents | a7edf66b8b58 |
children | 9d594cfaf7c6 |
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="lzma"
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 stuff/lzma $fs/usr/bin
32 }