wok view ffmpeg/receipt @ rev 2707

gst-plugins-bad : update BUILD_DEPENDS
author Rohit Joshi <jozee@slitaz.org>
date Wed Apr 22 16:43:09 2009 +0000 (2009-04-22)
parents c5f7c8ee2f96
children 0f5ea8972a38
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"
13 # Référence externe extraite à la révision 27917.
14 #
15 # Révision 18330 extraite.
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 mkdir $src 2> /dev/null
21 cd $src
22 [ -f ffmpeg/configure ] || svn checkout -r $VERSION \
23 svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg
24 cd ffmpeg
25 sed -i 's/pr -. -t/cat/' configure
26 # mktemp busybox hack patch
27 patch -p1 < ../../stuff/build.patch
29 ./configure --prefix=/usr --enable-gpl \
30 --arch=i486 --cpu=i486 \
31 --enable-shared --enable-small \
32 --enable-postproc \
33 --disable-mmx --disable-mmx2 --disable-ssse3 &&
34 make &&
35 make DESTDIR=$PWD/../_pkg install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/lib
42 cp -a $_pkg/usr/lib/*so* $fs/usr/lib
43 cp -a $_pkg/usr/bin $fs/usr
45 }