wok-next view ffmpeg/receipt @ rev 6280
Up: lxappearance to 0.4.0.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Sep 15 11:57:46 2010 +0000 (2010-09-15) |
parents | e6dde8781608 |
children | 6b1cdf8e9c54 |
line source
1 # SliTaz package receipt.
3 PACKAGE="ffmpeg"
4 VERSION="0.5.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 SUGGESTED="ffplay"
14 TAGS="audio video convert stream"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
21 # Fix gcc45 build.
22 patch -p1 < ../stuff/ffmpeg-0.5.1-gcc45.u || exit 1
24 ./configure \
25 --prefix=/usr \
26 --enable-gpl \
27 --arch=i486 \
28 --cpu=i486 \
29 --enable-shared \
30 --enable-small \
31 --enable-pthreads \
32 --enable-postproc \
33 --enable-swscale \
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 }