wok-4.x view ffmpeg/receipt @ rev 2783
slitaz-eeepc: Add support for 1000H to tazeee (Thank Filou)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Apr 27 21:47:16 2009 +0200 (2009-04-27) |
parents | c10bde9c89d7 |
children | 583bdd691510 |
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"
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 }