wok diff squashfs/receipt @ rev 6485

audacious-plugins: break a dependency loop
author Antoine Bodin <gokhlayeh@mailoo.org>
date Thu Sep 30 21:14:47 2010 +0200 (2010-09-30)
parents f5b04145b323
children 7e74961dc953
line diff
     1.1 --- a/squashfs/receipt	Thu May 13 23:05:31 2010 +0200
     1.2 +++ b/squashfs/receipt	Thu Sep 30 21:14:47 2010 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="squashfs"
     1.7 -VERSION="4.0"
     1.8 +VERSION="4.1"
     1.9  CATEGORY="base-system"
    1.10  SHORT_DESC="Linux squashfs userland tools."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12 @@ -9,7 +9,7 @@
    1.13  TARBALL="squashfs$VERSION.tar.gz"
    1.14  WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.15  DEPENDS="zlib linux-squashfs"
    1.16 -BUILD_DEPENDS="zlib-dev"
    1.17 +BUILD_DEPENDS="zlib-dev attr-dev liblzma-dev"
    1.18  PROVIDE="cromfs-or-squashfs"
    1.19  
    1.20  # Rules to configure and make the package.
    1.21 @@ -18,17 +18,8 @@
    1.22  	mv ${PACKAGE}${VERSION} $src 2> /dev/null
    1.23  
    1.24  	cd $src/squashfs-tools
    1.25 +	sed -i 's|#XZ_SUPPORT = 1|XZ_SUPPORT = 1|g' Makefile
    1.26  	mkdir -p ../_pkg/usr/sbin ../_pkg/sbin
    1.27 -	if [ ! -d ../LZMA/lzma465 ]; then
    1.28 -		SF_MIRROR=http://switch.dl.sourceforge.net/sourceforge
    1.29 -		[ -s $SOURCES_REPOSITORY/lzma465.tar.bz2 ] || 
    1.30 -		wget $SF_MIRROR/sevenzip/lzma465.tar.bz2 -P $SOURCES_REPOSITORY
    1.31 -		mkdir -p ../LZMA/lzma465
    1.32 -		tar xjf $SOURCES_REPOSITORY/lzma465.tar.bz2 -C ../LZMA/lzma465
    1.33 -	fi
    1.34 -	if [ ! -f lzma_wrapper.c ]; then
    1.35 -		patch -p2 -i ../../stuff/lzma.u
    1.36 -	fi
    1.37  	make || return 1
    1.38  	cp mksquashfs ../_pkg/usr/sbin
    1.39  	cp unsquashfs ../_pkg/sbin