wok view ffmpeg/receipt @ rev 5251

python: Fix dependencies (no tk and all X...)
author Christophe Lincoln <pankso@slitaz.org>
date Mon Apr 12 18:42:32 2010 +0200 (2010-04-12)
parents bfee99ebda41
children 7a3e60dd9305
line source
1 # SliTaz package receipt.
3 PACKAGE="ffmpeg"
4 VERSION="0.5"
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 }