wok-6.x diff ffmpeg/receipt @ rev 2225

Add ppp-pam
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 12 10:24:10 2009 +0000 (2009-02-12)
parents
children 3eacc9c96968
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/ffmpeg/receipt	Thu Feb 12 10:24:10 2009 +0000
     1.3 @@ -0,0 +1,37 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="ffmpeg"
     1.7 +VERSION="15261"
     1.8 +CATEGORY="multimedia"
     1.9 +SHORT_DESC="Record, convert and stream audio and video."
    1.10 +MAINTAINER="pascal.bellard@slitaz.org"
    1.11 +WEB_SITE="http://ffmpg.org/"
    1.12 +BUILD_DEPENDS="subversion"
    1.13 +
    1.14 +# Référence externe extraite à la révision 27917.
    1.15 +#
    1.16 +# Révision 15261 extraite.
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +compile_rules()
    1.20 +{
    1.21 +	mkdir $src 2> /dev/null
    1.22 +	cd $src
    1.23 +	[ -f ffmpeg/configure ] || svn checkout -r $VERSION \
    1.24 +		svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg
    1.25 +	cd ffmpeg
    1.26 +	sed -i 's/pr -. -t/cat/' configure
    1.27 +	./configure --prefix=/usr --enable-gpl \
    1.28 +	--disable-mmx --disable-mmx2 --disable-ssse3 --arch=i486 --cpu=i486 &&
    1.29 +	make &&
    1.30 +	make DESTDIR=$PWD/../_pkg install
    1.31 +}
    1.32 +
    1.33 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.34 +genpkg_rules()
    1.35 +{
    1.36 +	mkdir -p $fs/usr/lib
    1.37 +	cp -a $_pkg/usr/bin $fs/usr
    1.38 +	cp -a $_pkg/usr/lib/vhook $fs/usr/lib
    1.39 +}
    1.40 +