wok view ffmpeg/receipt @ rev 2675

Up: ffmpeg and add compile options for small size
author Rohit Joshi <jozee@slitaz.org>
date Tue Apr 21 12:40:38 2009 +0000 (2009-04-21)
parents bcdadd8bfbfa
children c5f7c8ee2f96
line source
1 # SliTaz package receipt.
3 PACKAGE="ffmpeg"
4 VERSION="18330"
5 CATEGORY="multimedia"
6 SHORT_DESC="Record, convert and stream audio and video."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 WEB_SITE="http://ffmpeg.org/"
9 DEPENDS="bzlib freetype libSDL libiconv imlib2"
10 BUILD_DEPENDS="subversion"
14 # Référence externe extraite à la révision 27917.
15 #
16 # Révision 15261 extraite.
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 mkdir $src 2> /dev/null
22 cd $src
23 [ -f ffmpeg/configure ] || svn checkout -r $VERSION \
24 svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg
25 cd ffmpeg
26 sed -i 's/pr -. -t/cat/' configure
27 ./configure --prefix=/usr --enable-gpl \
28 --arch=i486 --cpu=i486 \
29 --enable-shared --enable-small \
30 --enable-postproc \
31 --disable-mmx --disable-mmx2 --disable-ssse3 &&
32 make &&
33 make DESTDIR=$PWD/../_pkg install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib $fs/usr/bin
40 cp -a $_pkg/usr/lib/vhook $fs/usr/lib
41 cp -a $_pkg/usr/lib/*so* $fs/usr/lib
42 cp -a $_pkg/usr/bin $fs/usr/
43 }