wok-next diff squashfs/receipt @ rev 5195

slitaz-doc: fix version for 3.0
author Christophe Lincoln <pankso@slitaz.org>
date Sun Mar 28 17:16:33 2010 +0200 (2010-03-28)
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 Mar 28 17:16:33 2010 +0200
     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