wok-stable view ffmpeg/receipt @ rev 8169
imported patch toolchain/autoconf.patch
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Thu Jan 27 00:20:49 2011 +0100 (2011-01-27) |
parents | 6b1cdf8e9c54 |
children | 0b4cf0d9e1b5 |
line source
1 # SliTaz package receipt.
3 PACKAGE="ffmpeg"
4 VERSION="0.6.1"
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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WGET_URL="${WEB_SITE}releases/$TARBALL"
11 DEPENDS="bzlib freetype imlib2 alsa-lib jack-audio-connection-kit zlib"
12 BUILD_DEPENDS="imlib2-dev freetype-dev libsdl-dev zlib-dev coreutils-file-format \
13 coreutils-file-special"
14 SUGGESTED="ffplay"
15 TAGS="audio video convert stream"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
22 # Fix gcc45 build.
23 patch -p1 < ../stuff/ffmpeg-0.5.1-gcc45.u || exit 1
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 --enable-swscale \
35 --disable-mmx \
36 --disable-mmx2 \
37 --disable-ssse3 &&
38 make &&
39 make DESTDIR=$PWD/_pkg install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr/lib
46 cp -a $_pkg/usr/lib/*so* $fs/usr/lib
47 cp -a $_pkg/usr/bin $fs/usr
48 # ffplay with it SDL dep go in a splited package
49 rm $fs/usr/bin/ffplay
50 }