wok-6.x diff squashfs/receipt @ rev 21273
updated libplist and libplist-dev (1.4.0 -> 2.0.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Apr 12 17:10:00 2019 +0100 (2019-04-12) |
parents | 551c5f787dd0 |
children | 4e74b9c6bb62 |
line diff
1.1 --- a/squashfs/receipt Thu May 14 13:44:28 2015 +0200 1.2 +++ b/squashfs/receipt Fri Apr 12 17:10:00 2019 +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 }