wok view lzma/receipt @ rev 6110

fox, fox14, glew, perl-net-ldap: fix build_depends (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 04 13:06:54 2010 +0200 (2010-09-04)
parents 2ecddf4c213f
children 79ebfa5003d6
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-alone
42 cp stuff/lzma $fs/usr/bin
43 chmod 755 $fs/usr/bin/lzma
44 }