wok-6.x diff libsmpeg/receipt @ rev 8276

alpine: Switch Openssl depends to libssl
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sun Jan 30 20:40:09 2011 +0100 (2011-01-30)
parents 17066ba98354
children 86389dd74a35
line diff
     1.1 --- a/libsmpeg/receipt	Tue Oct 12 22:56:00 2010 +0000
     1.2 +++ b/libsmpeg/receipt	Sun Jan 30 20:40:09 2011 +0100
     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