wok-6.x view ffmpeg/receipt @ rev 3072
Up: gparted (0.4.5)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed May 13 22:56:27 2009 +0200 (2009-05-13) |
parents | 583bdd691510 |
children | 45790f0c3d53 |
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 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 18775 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 }