wok view ffmpeg/receipt @ rev 2650
mirror-tools: update pxe for 2.0
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Apr 18 12:53:55 2009 +0200 (2009-04-18) |
parents | 3eacc9c96968 |
children | 7d6849d4f7bc |
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 DEPENDS="bzlib freetype libSDL libiconv imlib2"
10 BUILD_DEPENDS="subversion"
12 # Référence externe extraite à la révision 27917.
13 #
14 # Révision 15261 extraite.
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 mkdir $src 2> /dev/null
20 cd $src
21 [ -f ffmpeg/configure ] || svn checkout -r $VERSION \
22 svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg
23 cd ffmpeg
24 sed -i 's/pr -. -t/cat/' configure
25 ./configure --prefix=/usr --enable-gpl \
26 --disable-mmx --disable-mmx2 --disable-ssse3 --arch=i486 --cpu=i486 &&
27 make &&
28 make DESTDIR=$PWD/../_pkg install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
35 cp -a $_pkg/usr/bin $fs/usr
36 cp -a $_pkg/usr/lib/vhook $fs/usr/lib
37 }