wok-stable diff ffmpeg/receipt @ rev 4924

Add rp-l2tp
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Feb 16 10:29:20 2010 +0100 (2010-02-16)
parents 18292a22a63a
children fb8aceda65ff
line diff
     1.1 --- a/ffmpeg/receipt	Sat Sep 26 11:48:00 2009 +0200
     1.2 +++ b/ffmpeg/receipt	Tue Feb 16 10:29:20 2010 +0100
     1.3 @@ -8,18 +8,26 @@
     1.4  WEB_SITE="http://ffmpeg.org/"
     1.5  TARBALL="$PACKAGE-$VERSION.tar.bz2"
     1.6  WGET_URL="${WEB_SITE}releases/$TARBALL"
     1.7 -DEPENDS="bzlib freetype libsdl imlib2 alsa-lib jack-audio-connection-kit zlib"
     1.8 -BUILD_DEPENDS="imlib2-dev freetype-dev libsdl-dev zlib-dev bzlib-dev"
     1.9 +DEPENDS="bzlib freetype imlib2 alsa-lib jack-audio-connection-kit zlib"
    1.10 +BUILD_DEPENDS="imlib2-dev freetype-dev libsdl-dev zlib-dev coreutils-file-format"
    1.11 +SUGGESTED="ffplay"
    1.12  
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {
    1.16  	cd $src
    1.17 -	./configure --prefix=/usr --enable-gpl \
    1.18 -	--arch=i486 --cpu=i486 \
    1.19 -	--enable-shared --enable-small \
    1.20 -	--enable-postproc \
    1.21 -	--disable-mmx  --disable-mmx2 --disable-ssse3 &&
    1.22 +	./configure \
    1.23 +		--prefix=/usr \
    1.24 +		--enable-gpl \
    1.25 +		--arch=i486 \
    1.26 +		--cpu=i486 \
    1.27 +		--enable-shared \
    1.28 +		--enable-small \
    1.29 +		--enable-pthreads \
    1.30 +		--enable-postproc \
    1.31 +		--disable-mmx \
    1.32 +		--disable-mmx2 \
    1.33 +		--disable-ssse3 &&
    1.34  	make &&
    1.35  	make DESTDIR=$PWD/_pkg install
    1.36  }
    1.37 @@ -27,7 +35,9 @@
    1.38  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.39  genpkg_rules()
    1.40  {
    1.41 -	mkdir -p $fs/usr/lib 
    1.42 +	mkdir -p $fs/usr/lib
    1.43  	cp -a $_pkg/usr/lib/*so* $fs/usr/lib
    1.44 -	cp -a $_pkg/usr/bin $fs/usr	
    1.45 +	cp -a $_pkg/usr/bin $fs/usr
    1.46 +	# ffplay with it SDL dep go in a splited package
    1.47 +	rm $fs/usr/bin/ffplay
    1.48  }