wok-stable diff ffmpeg-svn/receipt @ rev 8627

Up: tazchroot 0.0.6
author Antoine Bodin <gokhlayeh@slitaz.org>
date Tue Feb 15 03:14:00 2011 +0100 (2011-02-15)
parents 48b516d81cd5
children 809ffd3c9ff1
line diff
     1.1 --- a/ffmpeg-svn/receipt	Tue Jul 27 11:17:36 2010 +0200
     1.2 +++ b/ffmpeg-svn/receipt	Tue Feb 15 03:14:00 2011 +0100
     1.3 @@ -11,23 +11,13 @@
     1.4  PROVIDE="ffmpeg"
     1.5  SUGGESTED="ffplay"
     1.6  TAGS="audio video convert stream"
     1.7 +WGET_URL="subversion|svn://svn.ffmpeg.org/ffmpeg/trunk"
     1.8 +BRANCH="$VERSION"
     1.9  
    1.10  # Rules to configure and make the package.
    1.11  compile_rules()
    1.12  {
    1.13 -	mkdir -p $src 2> /dev/null
    1.14 -	cd $src
    1.15 -	TARBALL=$SOURCES_REPOSITORY/$PACKAGE-$VERSION.tar.gz
    1.16 -	if [ -f ffmpeg/configure ]; then
    1.17 -		true
    1.18 -	elif [ -f $TARBALL ]; then
    1.19 -		tar xzf $TARBALL
    1.20 -	else
    1.21 -		svn checkout -r "$VERSION" svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg &&
    1.22 -		tar czf $TARBALL ffmpeg
    1.23 -	fi
    1.24 -
    1.25 -	cd ffmpeg	
    1.26 +	cd $src	
    1.27  	# make busybox compatible or add  coreutils-file-format coreutils-file-special in BUILD_DEPENDS if patch/configure fails
    1.28  	patch -Np1 -i ../../stuff/$PACKAGE-$VERSION-mktemp.patch
    1.29