wok-current view xz/receipt @ rev 5021
Up: libgphoto2, gphoto2 (fix security and bugs)
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Mon Mar 01 16:54:24 2010 +0000 (2010-03-01) |
parents | 9d594cfaf7c6 |
children | d22789fb1e92 |
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 DEPENDS="liblzma"
10 WEB_SITE="http://tukaani.org/xz"
11 WGET_URL="$WEB_SITE/$TARBALL"
12 PROVIDE="lzma"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --mandir=/usr/share/man \
20 --enable-dynamic=yes --enable-small \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/bin
31 cp -a $_pkg/usr/bin/xz $fs/usr/bin
32 cp stuff/lzma $fs/usr/bin
33 }