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