# HG changeset patch # User Pascal Bellard # Date 1483267001 -3600 # Node ID 452c85a713bf6feaa9d2f7b4c2a681036770e6d4 # Parent cd27709709aaa517e0ea7ddbd698bdb74b865026 squashfs: misc fixes diff -r cd27709709aa -r 452c85a713bf squashfs/receipt --- a/squashfs/receipt Fri Dec 30 01:56:58 2016 +0200 +++ b/squashfs/receipt Sun Jan 01 11:36:41 2017 +0100 @@ -17,17 +17,22 @@ compile_rules() { cd $src/squashfs-tools + sed -i -e 's/int file_size/off_t file_size/' \ + -e 's/source_path.index ++./strdup(&)/' mksquashfs.c + sed -i -e 's/~S_IFMT/S_IFMT/' -e 's/MOVE_ACTION, -2/MOVE_ACTION, 1/' action.c for i in XZ LZMA_XZ LZO LZ4 ; do sed -i "s|^#\\(${i}_SUPPORT = 1\\)|\\1|g" Makefile done mkdir -p $DESTDIR/usr/sbin $DESTDIR/sbin make || return 1 - cp -a mksquashfs $DESTDIR/usr/sbin + cp -a mksquashfs $DESTDIR/usr/sbin cp -a unsquashfs $DESTDIR/sbin } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { + mkdir -p $install/usr/share/doc cp -a $install/usr $install/sbin $fs + cp $src/README* $src/[CP]* $src/*example $install/usr/share/doc }