wok view lzma/receipt @ rev 2140

slitaz-loram*: rc.shutdown needs killall5 and seq
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Feb 04 14:58:33 2009 +0000 (2009-02-04)
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 }