wok view lzma/receipt @ rev 1512

acpid: acpi_fakekey added
author Dominique Corbex <domcox@users.sourceforge.net>
date Mon Oct 06 19:15:21 2008 +0200 (2008-10-06)
parents ba5136a62f8d
children 52dc4b48ed81
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 gzip"
12 BUILD_DEPENDS="gzip-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 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/bin
40 cp -a $src/CPP/7zip/Compress/LZMA_Alone/lzma-shared $fs/usr/bin/lzma
41 }