wok view lzma/receipt @ rev 1442

linux lzma hardinfo etherboot mISDN busybox: apply path once
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Oct 02 16:39:02 2008 +0000 (2008-10-02)
parents 13768ad7e79e
children ba5136a62f8d
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"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 ln -sf . $src
17 if [ ! -f done.lzlib.u ]; then
18 patch -p0 < stuff/lzlib.u || return 1
19 touch done.lzlib.u
20 fi
21 cd CPP/7zip/Compress/LZMA_Alone
22 make -f makefile.gcc lzma
23 make -f makefile.gcc liblz.so.1.0.0
24 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/bin
31 cp -a CPP/7zip/Compress/LZMA_Alone/lzma-shared $fs/usr/bin/lzma
32 }