wok-6.x rev 19592
squashfs: misc fixes
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jan 01 11:36:41 2017 +0100 (2017-01-01) |
parents | cd27709709aa |
children | db28d30f3f7e |
files | squashfs/receipt |
line diff
1.1 --- a/squashfs/receipt Fri Dec 30 01:56:58 2016 +0200 1.2 +++ b/squashfs/receipt Sun Jan 01 11:36:41 2017 +0100 1.3 @@ -17,17 +17,22 @@ 1.4 compile_rules() 1.5 { 1.6 cd $src/squashfs-tools 1.7 + sed -i -e 's/int file_size/off_t file_size/' \ 1.8 + -e 's/source_path.index ++./strdup(&)/' mksquashfs.c 1.9 + sed -i -e 's/~S_IFMT/S_IFMT/' -e 's/MOVE_ACTION, -2/MOVE_ACTION, 1/' action.c 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 1.16 + cp -a mksquashfs $DESTDIR/usr/sbin 1.17 cp -a unsquashfs $DESTDIR/sbin 1.18 } 1.19 1.20 # Rules to gen a SliTaz package suitable for Tazpkg. 1.21 genpkg_rules() 1.22 { 1.23 + mkdir -p $install/usr/share/doc 1.24 cp -a $install/usr $install/sbin $fs 1.25 + cp $src/README* $src/[CP]* $src/*example $install/usr/share/doc 1.26 }