wok annotate 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 |
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@1442 | 17 if [ ! -f done.lzlib.u ]; then |
pascal@1442 | 18 patch -p0 < stuff/lzlib.u || return 1 |
pascal@1442 | 19 touch done.lzlib.u |
pascal@1442 | 20 fi |
pascal@224 | 21 cd CPP/7zip/Compress/LZMA_Alone |
pascal@896 | 22 make -f makefile.gcc lzma |
pascal@896 | 23 make -f makefile.gcc liblz.so.1.0.0 |
pankso@126 | 24 } |
pankso@126 | 25 |
pankso@126 | 26 |
pankso@126 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@126 | 28 genpkg_rules() |
pankso@126 | 29 { |
pankso@126 | 30 mkdir -p $fs/usr/bin |
pascal@896 | 31 cp -a CPP/7zip/Compress/LZMA_Alone/lzma-shared $fs/usr/bin/lzma |
pankso@126 | 32 } |
pankso@126 | 33 |