wok-stable annotate lzma/receipt @ rev 1383
vim: fix all (vim72)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Sep 15 15:26:29 2008 +0200 (2008-09-15) |
parents | 49a50d5d40c5 |
children | e64f8e87ea6d |
rev | line source |
---|---|
pankso@126 | 1 # SliTaz package receipt. |
pankso@126 | 2 |
pankso@126 | 3 PACKAGE="lzma" |
pascal@224 | 4 VERSION="4.57" |
pankso@210 | 5 CATEGORY="base-system" |
pankso@126 | 6 SHORT_DESC="Compressor with a high compression ratio." |
pankso@126 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@224 | 8 TARBALL="lzma$(echo $VERSION | sed 's/\.//').tar.bz2" |
pascal@224 | 9 WEB_SITE="http://sourceforge.net/projects/sevenzip/" |
pascal@224 | 10 WGET_URL="$SF_MIRROR/sevenzip/$TARBALL" |
pascal@896 | 11 DEPENDS="lzlib" |
pankso@126 | 12 |
pankso@126 | 13 # Rules to configure and make the package. |
pankso@126 | 14 compile_rules() |
pankso@126 | 15 { |
pascal@896 | 16 ln -sf . $src |
pascal@896 | 17 patch -p0 < stuff/lzlib.u || return 1 |
pascal@224 | 18 cd CPP/7zip/Compress/LZMA_Alone |
pascal@896 | 19 make -f makefile.gcc lzma |
pascal@896 | 20 make -f makefile.gcc liblz.so.1.0.0 |
pankso@126 | 21 } |
pankso@126 | 22 |
pankso@126 | 23 |
pankso@126 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@126 | 25 genpkg_rules() |
pankso@126 | 26 { |
pankso@126 | 27 mkdir -p $fs/usr/bin |
pascal@896 | 28 cp -a CPP/7zip/Compress/LZMA_Alone/lzma-shared $fs/usr/bin/lzma |
pankso@126 | 29 } |
pankso@126 | 30 |