wok-6.x diff squashfs/receipt @ rev 22213

updated xorg-libXext and xorg-libXext-dev (1.3.2 -> 1.3.4)
author Hans-G?nter Theisgen
date Mon Nov 11 15:56:09 2019 +0100 (2019-11-11)
parents 452c85a713bf
children 5ea0ce1cecc0
line diff
     1.1 --- a/squashfs/receipt	Sun Jan 01 11:36:41 2017 +0100
     1.2 +++ b/squashfs/receipt	Mon Nov 11 15:56:09 2019 +0100
     1.3 @@ -1,30 +1,39 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="squashfs"
     1.7 -VERSION="4.3"
     1.8 +VERSION="4.4"
     1.9  CATEGORY="base-system"
    1.10  SHORT_DESC="Linux squashfs userland tools."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="GPL2"
    1.13 -WEB_SITE="http://$PACKAGE.sourceforge.net/"
    1.14 -TARBALL="squashfs$VERSION.tar.gz"
    1.15 -WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.16 +WEB_SITE="https://github.com/plougher/squashfs-tools"
    1.17  
    1.18 -DEPENDS="zlib liblzma linux-squashfs lzo lz4-lib"
    1.19 -BUILD_DEPENDS="zlib-dev attr-dev liblzma-dev lzo-dev lz4-dev"
    1.20 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.21 +WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz"
    1.22 +
    1.23 +DEPENDS="liblzma linux-squashfs lz4-lib lzo zlib"
    1.24 +BUILD_DEPENDS="attr-dev liblzma-dev lz4-dev lzo-dev zlib-dev"
    1.25  
    1.26  # Rules to configure and make the package.
    1.27  compile_rules()
    1.28  {
    1.29  	cd $src/squashfs-tools
    1.30 -	sed -i	-e 's/int file_size/off_t file_size/' \
    1.31 -		-e 's/source_path.index ++./strdup(&)/' mksquashfs.c
    1.32 -	sed -i 	-e 's/~S_IFMT/S_IFMT/' -e 's/MOVE_ACTION, -2/MOVE_ACTION, 1/' action.c
    1.33 -	for i in XZ LZMA_XZ LZO LZ4 ; do
    1.34 +	# 4.3
    1.35 +#	sed -i	-e 's/int file_size/off_t file_size/' \
    1.36 +#		-e 's/source_path.index ++./strdup(&)/' mksquashfs.c
    1.37 +#	sed -i 	-e 's/~S_IFMT/S_IFMT/' -e 's/MOVE_ACTION, -2/MOVE_ACTION, 1/' action.c
    1.38 +
    1.39 +	sed -i 	-e 's/~S_IFMT/S_IFMT/' action.c
    1.40 +	for i in XZ LZMA_XZ LZO LZ4
    1.41 +	  do
    1.42  		sed -i "s|^#\\(${i}_SUPPORT = 1\\)|\\1|g" Makefile
    1.43 -	done
    1.44 -	mkdir -p $DESTDIR/usr/sbin $DESTDIR/sbin
    1.45 +	  done
    1.46 +
    1.47 +	mkdir -p $DESTDIR/usr/sbin
    1.48 +	mkdir -p  $DESTDIR/sbin
    1.49 +
    1.50  	make || return 1
    1.51 +
    1.52  	cp -a mksquashfs $DESTDIR/usr/sbin
    1.53  	cp -a unsquashfs $DESTDIR/sbin
    1.54  }
    1.55 @@ -33,6 +42,10 @@
    1.56  genpkg_rules()
    1.57  {
    1.58  	mkdir -p $install/usr/share/doc
    1.59 -	cp -a $install/usr $install/sbin $fs
    1.60 -	cp $src/README* $src/[CP]* $src/*example $install/usr/share/doc
    1.61 +
    1.62 +	cp -a $install/usr	$fs
    1.63 +	cp -a $install/sbin	$fs
    1.64 +	cp $src/README*		$install/usr/share/doc
    1.65 +	cp $src/[CP]*		$install/usr/share/doc
    1.66 +#	cp $src/*example	$install/usr/share/doc	# 4.3
    1.67  }