wok view ffmpeg/receipt @ rev 12857

Up: tazpkg (5.0) Bunch of fixes, clean and improvment (but dont handle mulitarch)
author Christophe Lincoln <pankso@slitaz.org>
date Thu May 24 14:21:48 2012 +0200 (2012-05-24)
parents 9a28c04b9757
children 0bfc759d1bad
line source
1 # SliTaz package receipt.
3 PACKAGE="ffmpeg"
4 VERSION="0.10.3"
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="alsa-lib"
12 BUILD_DEPENDS="libsdl-dev zlib-dev bzip2-dev coreutils-file-format \
13 coreutils-file-special yasm"
14 SUGGESTED="ffplay"
15 TAGS="audio video convert stream"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure \
22 --prefix=/usr \
23 --enable-shared \
24 --disable-static \
25 --enable-gpl \
26 --enable-runtime-cpudetect \
27 --enable-pthreads \
28 --enable-small \
29 --disable-ffprobe \
30 --disable-ffserver \
31 --disable-encoder=h263 \
32 --disable-encoder=h263p \
33 --disable-encoder=mpeg2video \
34 --disable-encoder=mpeg4 \
35 --disable-encoder=msmpeg4v1 \
36 --disable-encoder=msmpeg4v2 \
37 --disable-encoder=msmpeg4v3 \
38 --disable-symver \
39 --disable-debug \
40 --disable-doc && \
41 make &&
42 make install
43 }
45 # Rules to gen a SliTaz package suitable for Tazpkg.
46 genpkg_rules()
47 {
48 mkdir -p $fs/usr/lib
49 cp -a $_pkg/usr/lib/*so* $fs/usr/lib
50 cp -a $_pkg/usr/bin $fs/usr
51 mkdir -p $fs/usr/share
52 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
53 # ffplay with it SDL dep go in a splited package
54 rm $fs/usr/bin/ffplay
55 }