wok-stable view ffmpeg/receipt @ rev 2863
sudo (1.7.1) [security update]
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 02 10:36:16 2009 +0200 (2009-05-02) |
parents | 0f5ea8972a38 |
children | 96ff12f60c06 |
line source
1 # SliTaz package receipt.
3 PACKAGE="ffmpeg"
4 VERSION="18664"
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 alsa-lib jack-audio-connection-kit"
10 BUILD_DEPENDS="subversion"
13 # Référence externe extraite à la révision 27917.
14 #
15 # Révision 18664 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 'HEAD' \
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 -p0 < ../../stuff/build.patch
28 cp -a ../../stuff/configure .
30 ./configure --prefix=/usr --enable-gpl \
31 --arch=i486 --cpu=i486 \
32 --enable-shared --enable-small \
33 --enable-postproc \
34 --disable-mmx --disable-mmx2 --disable-ssse3 &&
35 make &&
36 make DESTDIR=$PWD/../_pkg install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/lib
43 cp -a $_pkg/usr/lib/*so* $fs/usr/lib
44 cp -a $_pkg/usr/bin $fs/usr
46 }