wok-current view lzma/receipt @ rev 2848

Typo in libQtClucene
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 01 15:42:52 2009 +0200 (2009-05-01)
parents 52dc4b48ed81
children 5cbc6e9ad233
line source
1 # SliTaz package receipt.
3 PACKAGE="lzma"
4 VERSION="4.57"
5 CATEGORY="base-system"
6 SHORT_DESC="Compressor with a high compression ratio."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="lzma$(echo $VERSION | sed 's/\.//').tar.bz2"
9 WEB_SITE="http://sourceforge.net/projects/sevenzip/"
10 WGET_URL="$SF_MIRROR/sevenzip/$TARBALL"
11 DEPENDS="lzlib zlib gcc-lib-base"
12 BUILD_DEPENDS="zlib-dev"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 mkdir -p $src
18 cd $src
19 for i in ../* ; do
20 case "$i" in
21 ../receipt*|../taz|../stuff|../process.log);;
22 ../$(basename $src));;
23 *) mv $i .;;
24 esac
25 done
26 if [ ! -f done.lzlib.u ]; then
27 patch -p0 < ../stuff/lzlib.u || return 1
28 touch done.lzlib.u
29 fi
30 cd CPP/7zip/Compress/LZMA_Alone
31 make -f makefile.gcc lzma
32 make -f makefile.gcc liblz.so.1.0.0 &&
33 make -f makefile.gcc lzma
34 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/bin
41 cp -a $src/CPP/7zip/Compress/LZMA_Alone/lzma-shared $fs/usr/bin/lzma
42 }