wok-current diff squashfs/receipt @ rev 4702
squashfs: add lzma support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jan 03 18:38:54 2010 +0100 (2010-01-03) |
parents | 214c9590a5e5 |
children | f5b04145b323 |
line diff
1.1 --- a/squashfs/receipt Mon May 11 19:25:45 2009 +0200 1.2 +++ b/squashfs/receipt Sun Jan 03 18:38:54 2010 +0100 1.3 @@ -19,6 +19,16 @@ 1.4 1.5 cd $src/squashfs-tools 1.6 mkdir -p ../_pkg/usr/sbin ../_pkg/sbin 1.7 + if [ ! -d ../LZMA/lzma465 ]; then 1.8 + SF_MIRROR=http://switch.dl.sourceforge.net/sourceforge 1.9 + [ -s lzma465.tar.bz2 ] || 1.10 + wget $SF_MIRROR/sevenzip/lzma465.tar.bz2 1.11 + mkdir -p ../LZMA/lzma465 1.12 + tar xjf lzma465.tar.bz2 -C ../LZMA/lzma465 1.13 + fi 1.14 + if [ ! -f lzma_wrapper.c ]; then 1.15 + patch -p2 -i ../../stuff/lzma.u 1.16 + fi 1.17 make || return 1 1.18 cp mksquashfs ../_pkg/usr/sbin 1.19 cp unsquashfs ../_pkg/sbin