wok view ffmpeg/receipt @ rev 5566
Up iptables (1.4.7)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri May 14 15:39:41 2010 +0200 (2010-05-14) |
parents | 7a3e60dd9305 |
children | 40c1764bd2dd |
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
20 ./configure \
21 --prefix=/usr \
22 --enable-gpl \
23 --arch=i486 \
24 --cpu=i486 \
25 --enable-shared \
26 --enable-small \
27 --enable-pthreads \
28 --enable-postproc \
29 --enable-swscale \
30 --disable-mmx \
31 --disable-mmx2 \
32 --disable-ssse3 &&
33 make &&
34 make DESTDIR=$PWD/_pkg install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib
41 cp -a $_pkg/usr/lib/*so* $fs/usr/lib
42 cp -a $_pkg/usr/bin $fs/usr
43 # ffplay with it SDL dep go in a splited package
44 rm $fs/usr/bin/ffplay
45 }