wok rev 8560

imported patch get/libsmpeg
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sun Feb 13 22:57:56 2011 +0100 (2011-02-13)
parents 96db5f7822ae
children 7cd28c1efe9b
files libsmpeg/receipt
line diff
     1.1 --- a/libsmpeg/receipt	Sun Feb 13 22:57:56 2011 +0100
     1.2 +++ b/libsmpeg/receipt	Sun Feb 13 22:57:56 2011 +0100
     1.3 @@ -8,20 +8,12 @@
     1.4  WEB_SITE="http://icculus.org/smpeg"
     1.5  DEPENDS="libsdl gcc-lib-base"
     1.6  BUILD_DEPENDS="libsdl libsdl-dev gtk+-dev autoconf automake m4 subversion tar"
     1.7 +WGET_URL="subversion|svn://svn.icculus.org/smpeg/trunk"
     1.8 +BRANCH="$VERSION"
     1.9  
    1.10  # Rules to configure and make the package.
    1.11  compile_rules()
    1.12  {
    1.13 -	[ -d "$PACKAGE-$VERSION" ] && rm -rf $PACKAGE-$VERSION
    1.14 -	TARBALL=$SOURCES_REPOSITORY/$PACKAGE-$VERSION.tar.lzma
    1.15 -	[ -L /bin/tar ] && tazpkg get-install tar --forced
    1.16 -	if [ -f $TARBALL ]; then
    1.17 -		tar xf $TARBALL
    1.18 -	else
    1.19 -		svn co svn://svn.icculus.org/smpeg/trunk \
    1.20 -			-r $VERSION $PACKAGE-$VERSION &&
    1.21 -		tar -c --lzma -f $TARBALL $PACKAGE-$VERSION
    1.22 -	fi
    1.23  	cd $src
    1.24  	chmod +x install-sh
    1.25  	./autogen.sh