wok-next diff ffmpeg-svn/receipt @ rev 5444

Up dahdi-* (2.3.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed May 05 11:09:57 2010 +0200 (2010-05-05)
parents
children 83e2b2ddf023
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/ffmpeg-svn/receipt	Wed May 05 11:09:57 2010 +0200
     1.3 @@ -0,0 +1,49 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="ffmpeg-svn"
     1.7 +VERSION="22914"
     1.8 +CATEGORY="multimedia"
     1.9 +SHORT_DESC="Record, convert and stream audio and video."
    1.10 +MAINTAINER="jozee@slitaz.org"
    1.11 +WEB_SITE="http://ffmpeg.org/"
    1.12 +DEPENDS="bzlib freetype imlib2 alsa-lib jack-audio-connection-kit zlib"
    1.13 +BUILD_DEPENDS="subversion imlib2-dev freetype-dev libsdl-dev zlib-dev coreutils-file-format coreutils-file-special"
    1.14 +PROVIDE="ffmpeg"
    1.15 +SUGGESTED="ffplay"
    1.16 +TAGS="audio video convert stream"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	mkdir -p $src 2> /dev/null
    1.22 +	cd $src
    1.23 +	[ -f ffmpeg/configure ] || svn checkout -r 'HEAD' \
    1.24 +		svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg
    1.25 +
    1.26 +	cd ffmpeg
    1.27 +	
    1.28 +	./configure \
    1.29 +		--prefix=/usr \
    1.30 +		--enable-gpl \
    1.31 +		--arch=i486 \
    1.32 +		--cpu=i486 \
    1.33 +		--enable-shared \
    1.34 +		--enable-small \
    1.35 +		--enable-pthreads \
    1.36 +		--enable-postproc \
    1.37 +		--disable-mmx \
    1.38 +		--disable-mmx2 \
    1.39 +		--disable-ssse3 &&
    1.40 +	make &&
    1.41 +	make DESTDIR=$PWD/../_pkg install
    1.42 +}
    1.43 +
    1.44 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.45 +genpkg_rules()
    1.46 +{
    1.47 +	mkdir -p $fs/usr/lib
    1.48 +	cp -a $_pkg/usr/lib/*so* $fs/usr/lib
    1.49 +	cp -a $_pkg/usr/bin $fs/usr
    1.50 +	# ffplay with it SDL dep go in a splited package
    1.51 +	rm $fs/usr/bin/ffplay
    1.52 +}