wok-next view ffmpeg/receipt @ rev 5347
Updated ffmpeg, ffmpeg-dev, and ffplay to 0.5.1. Added new avutil.h for the new ffmpeg-dev.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Apr 28 10:41:34 2010 +0000 (2010-04-28) |
parents | fb8aceda65ff |
children | e6dde8781608 |
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 --disable-mmx \
30 --disable-mmx2 \
31 --disable-ssse3 &&
32 make &&
33 make DESTDIR=$PWD/_pkg install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib
40 cp -a $_pkg/usr/lib/*so* $fs/usr/lib
41 cp -a $_pkg/usr/bin $fs/usr
42 # ffplay with it SDL dep go in a splited package
43 rm $fs/usr/bin/ffplay
44 }