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

Up: xorg-libXdmcp (1.1.1)
author Christophe Lincoln <pankso@slitaz.org>
date Wed Apr 25 00:02:21 2012 +0200 (2012-04-25)
parents 940b5937e496
children eb8067417980
line diff
     1.1 --- a/squashfs/receipt	Wed Mar 02 11:06:20 2011 +0100
     1.2 +++ b/squashfs/receipt	Wed Apr 25 00:02:21 2012 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="squashfs"
     1.7 -VERSION="4.1"
     1.8 +VERSION="4.2"
     1.9  CATEGORY="base-system"
    1.10  SHORT_DESC="Linux squashfs userland tools."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12 @@ -15,15 +15,13 @@
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {
    1.16 -	mv ${PACKAGE}${VERSION} $src 2> /dev/null
    1.17  	cd $src
    1.18 -	patch -Np1 -i $stuff/xz.patch
    1.19  	cd $src/squashfs-tools
    1.20 -	#sed -i 's|#XZ_SUPPORT = 1|XZ_SUPPORT = 1|g' Makefile
    1.21 -	mkdir -p ../_pkg/usr/sbin ../_pkg/sbin
    1.22 +	sed -i 's|#XZ_SUPPORT = 1|XZ_SUPPORT = 1|g' Makefile
    1.23 +	mkdir -p $DESTDIR/usr/sbin $DESTDIR/sbin
    1.24  	make || return 1
    1.25 -	cp mksquashfs ../_pkg/usr/sbin
    1.26 -	cp unsquashfs ../_pkg/sbin
    1.27 +	cp -a mksquashfs  $DESTDIR/usr/sbin
    1.28 +	cp -a unsquashfs $DESTDIR/sbin
    1.29  }
    1.30  
    1.31  # Rules to gen a SliTaz package suitable for Tazpkg.