wok view lzma/receipt @ rev 1459
gpxe: update WGET_URL
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 03 17:21:16 2008 +0000 (2008-10-03) |
parents | e64f8e87ea6d |
children | 3d99ecce2d4b |
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 mkdir -p $src
17 cd $src
18 for i in ../* ; do
19 case "$i" in
20 ../receipt*|../taz|../stuff|../process.log);;
21 ../$(basename $src));;
22 *) mv $i .;;
23 esac
24 done
25 if [ ! -f done.lzlib.u ]; then
26 patch -p0 < ../stuff/lzlib.u || return 1
27 touch done.lzlib.u
28 fi
29 cd CPP/7zip/Compress/LZMA_Alone
30 make -f makefile.gcc lzma
31 make -f makefile.gcc liblz.so.1.0.0
32 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/bin
39 cp -a $src/CPP/7zip/Compress/LZMA_Alone/lzma-shared $fs/usr/bin/lzma
40 }