wok-6.x view ffmpeg/receipt @ rev 3309
Up: startup-notification (0.10)
author | Mallory MOLLO <mallory@skyrock.com> |
---|---|
date | Sat Jun 06 20:17:11 2009 +0200 (2009-06-06) |
parents | 96ff12f60c06 |
children | e8024c01fc47 |
line source
1 # SliTaz package receipt.
3 PACKAGE="ffmpeg"
4 VERSION="18755"
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 imlib2 alsa-lib jack-audio-connection-kit"
10 BUILD_DEPENDS="subversion"
12 # Référence externe extraite à la révision 27917.
13 #
14 # Révision 18775 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 'HEAD' \
22 svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg
23 cd ffmpeg
24 sed -i 's/pr -. -t/cat/' configure
25 # mktemp busybox hack patch
26 #patch -p0 < ../../stuff/build.patch
27 cp -a ../../stuff/configure .
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
44 }