wok-stable view ffmpeg/receipt @ rev 2061

kqemu: ensure to use the right linux version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jan 22 17:37:19 2009 +0000 (2009-01-22)
parents
children 3eacc9c96968
line source
1 # SliTaz package receipt.
3 PACKAGE="ffmpeg"
4 VERSION="15261"
5 CATEGORY="multimedia"
6 SHORT_DESC="Record, convert and stream audio and video."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 WEB_SITE="http://ffmpg.org/"
9 BUILD_DEPENDS="subversion"
11 # Référence externe extraite à la révision 27917.
12 #
13 # Révision 15261 extraite.
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 mkdir $src 2> /dev/null
19 cd $src
20 [ -f ffmpeg/configure ] || svn checkout -r $VERSION \
21 svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg
22 cd ffmpeg
23 sed -i 's/pr -. -t/cat/' configure
24 ./configure --prefix=/usr --enable-gpl \
25 --disable-mmx --disable-mmx2 --disable-ssse3 --arch=i486 --cpu=i486 &&
26 make &&
27 make DESTDIR=$PWD/../_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $_pkg/usr/bin $fs/usr
35 cp -a $_pkg/usr/lib/vhook $fs/usr/lib
36 }