wok view ffmpeg-svn/receipt @ rev 5812
c-client: typo
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jul 12 18:58:22 2010 +0200 (2010-07-12) |
parents | 865c0b9402ab |
children | 60eee2a3b52a |
line source
1 # SliTaz package receipt.
3 PACKAGE="ffmpeg-svn"
4 VERSION="23117"
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 "
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 TARBALL=$SOURCES_REPOSITORY/$PACKAGE-$VERSION.tar.gz
21 if [ -f ffmpeg/configure ]; then
22 true
23 elif [ -f $TARBALL ]; then
24 tar xzf $TARBALL
25 else
26 svn checkout -r "$VERSION" svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg &&
27 tar czf $TARBALL ffmpeg
28 fi
30 cd ffmpeg
31 # make busybox compatible or add coreutils-file-format coreutils-file-special in BUILD_DEPENDS if patch/configure fails
32 patch -Np1 -i ../../stuff/$PACKAGE-$VERSION-mktemp.patch
34 ./configure \
35 --prefix=/usr \
36 --enable-gpl \
37 --arch=i486 \
38 --cpu=i486 \
39 --enable-shared \
40 --enable-small \
41 --enable-pthreads \
42 --enable-postproc \
43 --disable-mmx \
44 --disable-mmx2 \
45 --disable-ssse3 &&
46 make &&
47 make DESTDIR=$PWD/../_pkg install
48 }
50 # Rules to gen a SliTaz package suitable for Tazpkg.
51 genpkg_rules()
52 {
53 mkdir -p $fs/usr/lib
54 cp -a $_pkg/usr/lib/*so* $fs/usr/lib
55 cp -a $_pkg/usr/bin $fs/usr
56 # ffplay with it SDL dep go in a splited package
57 rm $fs/usr/bin/ffplay
58 }