wok-4.x view xz/receipt @ rev 4533
db: libdb provides libs (backout 4529:be5bba285abe)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 30 15:03:24 2009 +0100 (2009-11-30) |
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 }