wok annotate lzma/receipt @ rev 687
tazlito, tazpkg, tazusb, tazwok: no more cpio dependancy
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Apr 25 17:12:21 2008 +0000 (2008-04-25) |
parents | dbd9d5cecd6b |
children | 13768ad7e79e |
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" |
pankso@126 | 11 |
pankso@126 | 12 # Rules to configure and make the package. |
pankso@126 | 13 compile_rules() |
pankso@126 | 14 { |
pascal@224 | 15 cd CPP/7zip/Compress/LZMA_Alone |
pascal@224 | 16 make -f makefile.gcc |
pankso@126 | 17 } |
pankso@126 | 18 |
pankso@126 | 19 |
pankso@126 | 20 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@126 | 21 genpkg_rules() |
pankso@126 | 22 { |
pankso@126 | 23 mkdir -p $fs/usr/bin |
pascal@224 | 24 cp -a CPP/7zip/Compress/LZMA_Alone/lzma $fs/usr/bin |
pankso@126 | 25 strip -s $fs/usr/bin/* |
pankso@126 | 26 } |
pankso@126 | 27 |