wok-next diff libsmpeg/receipt @ rev 8144

Fix aufs and aufs-utils again.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Jan 25 00:36:14 2011 +0000 (2011-01-25)
parents 17066ba98354
children 86389dd74a35
line diff
     1.1 --- a/libsmpeg/receipt	Tue Oct 12 22:56:00 2010 +0000
     1.2 +++ b/libsmpeg/receipt	Tue Jan 25 00:36:14 2011 +0000
     1.3 @@ -1,27 +1,26 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="libsmpeg"
     1.7 -SOURCE="smpeg"
     1.8  VERSION="389"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Mpeg decoding library"
    1.11  MAINTAINER="claudinei@slitaz.org"
    1.12  WEB_SITE="http://icculus.org/smpeg"
    1.13  DEPENDS="libsdl gcc-lib-base"
    1.14 -BUILD_DEPENDS="libsdl libsdl-dev gtk+-dev autoconf automake m4 subversion"
    1.15 -
    1.16 +BUILD_DEPENDS="libsdl libsdl-dev gtk+-dev autoconf automake m4 subversion tar"
    1.17  
    1.18  # Rules to configure and make the package.
    1.19  compile_rules()
    1.20  {
    1.21 -	[ -d "$SOURCE-$VERSION" ] && rm -rf $SOURCE-$VERSION
    1.22 -	TARBALL=$SOURCES_REPOSITORY/$PACKAGE-svn-$VERSION.tar.gz
    1.23 +	[ -d "$PACKAGE-$VERSION" ] && rm -rf $PACKAGE-$VERSION
    1.24 +	TARBALL=$SOURCES_REPOSITORY/$PACKAGE-$VERSION.tar.lzma
    1.25 +	[ -L /bin/tar ] && tazpkg get-install tar --forced
    1.26  	if [ -f $TARBALL ]; then
    1.27 -		tar xzf $TARBALL
    1.28 +		tar xf $TARBALL
    1.29  	else
    1.30 -		svn co svn://svn.icculus.org/$SOURCE/trunk \
    1.31 -			-r $VERSION $SOURCE-$VERSION &&
    1.32 -		tar czf $TARBALL $SOURCE-$VERSION
    1.33 +		svn co svn://svn.icculus.org/smpeg/trunk \
    1.34 +			-r $VERSION $PACKAGE-$VERSION &&
    1.35 +		tar -c --lzma -f $TARBALL $PACKAGE-$VERSION
    1.36  	fi
    1.37  	cd $src
    1.38  	chmod +x install-sh