wok view ffmpeg-svn/receipt @ rev 5546
claws-mail-archive: update build_depends
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu May 13 15:39:24 2010 +0200 (2010-05-13) |
parents | |
children | 83e2b2ddf023 |
line source
1 # SliTaz package receipt.
3 PACKAGE="ffmpeg-svn"
4 VERSION="22914"
5 CATEGORY="multimedia"
6 SHORT_DESC="Record, convert and stream audio and video."
7 MAINTAINER="jozee@slitaz.org"
8 WEB_SITE="http://ffmpeg.org/"
9 DEPENDS="bzlib freetype imlib2 alsa-lib jack-audio-connection-kit zlib"
10 BUILD_DEPENDS="subversion imlib2-dev freetype-dev libsdl-dev zlib-dev coreutils-file-format coreutils-file-special"
11 PROVIDE="ffmpeg"
12 SUGGESTED="ffplay"
13 TAGS="audio video convert stream"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 mkdir -p $src 2> /dev/null
19 cd $src
20 [ -f ffmpeg/configure ] || svn checkout -r 'HEAD' \
21 svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg
23 cd ffmpeg
25 ./configure \
26 --prefix=/usr \
27 --enable-gpl \
28 --arch=i486 \
29 --cpu=i486 \
30 --enable-shared \
31 --enable-small \
32 --enable-pthreads \
33 --enable-postproc \
34 --disable-mmx \
35 --disable-mmx2 \
36 --disable-ssse3 &&
37 make &&
38 make DESTDIR=$PWD/../_pkg install
39 }
41 # Rules to gen a SliTaz package suitable for Tazpkg.
42 genpkg_rules()
43 {
44 mkdir -p $fs/usr/lib
45 cp -a $_pkg/usr/lib/*so* $fs/usr/lib
46 cp -a $_pkg/usr/bin $fs/usr
47 # ffplay with it SDL dep go in a splited package
48 rm $fs/usr/bin/ffplay
49 }