wok-current rev 17943
squashfs: add lzma support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Apr 15 16:35:16 2015 +0200 (2015-04-15) |
parents | 432d327b4c99 |
children | 78fa0f27d311 |
files | squashfs/receipt |
line diff
1.1 --- a/squashfs/receipt Wed Apr 15 14:25:34 2015 +0200 1.2 +++ b/squashfs/receipt Wed Apr 15 16:35:16 2015 +0200 1.3 @@ -17,9 +17,9 @@ 1.4 compile_rules() 1.5 { 1.6 cd $src/squashfs-tools 1.7 - sed -i 's|^#XZ_SUPPORT = 1|XZ_SUPPORT = 1|g' Makefile 1.8 - sed -i 's|^#LZO_SUPPORT = 1|LZO_SUPPORT = 1|g' Makefile 1.9 - sed -i 's|^#LZ4_SUPPORT = 1|LZ4_SUPPORT = 1|g' Makefile 1.10 + for i in XZ LZMA_XZ LZO LZ4 ; do 1.11 + sed -i "s|^#\\(${i}_SUPPORT = 1\\)|\\1|g' Makefile 1.12 + done 1.13 mkdir -p $DESTDIR/usr/sbin $DESTDIR/sbin 1.14 make || return 1 1.15 cp -a mksquashfs $DESTDIR/usr/sbin