wok view ffmpeg/receipt @ rev 13371
Up: slitaz-base-files (5.3) - bunch of improvments, thanks Aleksej
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Sep 14 22:30:53 2012 +0200 (2012-09-14) |
parents | 7cd2b8614ba7 |
children | 10b80db82747 |
line source
1 # SliTaz package receipt.
3 PACKAGE="ffmpeg"
4 VERSION="0.11.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 SUGGESTED="ffplay"
12 TAGS="audio video convert stream"
14 DEPENDS="alsa-lib"
15 BUILD_DEPENDS="libsdl-dev zlib-dev bzip2-dev coreutils-file-format \
16 coreutils-file-special yasm"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure \
23 --prefix=/usr \
24 --enable-shared \
25 --disable-static \
26 --enable-gpl \
27 --enable-runtime-cpudetect \
28 --enable-pthreads \
29 --enable-small \
30 --disable-ffprobe \
31 --disable-ffserver \
32 --disable-encoder=h263 \
33 --disable-encoder=h263p \
34 --disable-encoder=mpeg2video \
35 --disable-encoder=mpeg4 \
36 --disable-encoder=msmpeg4v1 \
37 --disable-encoder=msmpeg4v2 \
38 --disable-encoder=msmpeg4v3 \
39 --disable-symver \
40 --disable-debug \
41 --disable-doc &&
42 make && make install
43 }
45 # Rules to gen a SliTaz package suitable for Tazpkg.
46 genpkg_rules()
47 {
48 mkdir -p $fs/usr/lib $fs/usr/share
49 cp -a $install/usr/lib/*so* $fs/usr/lib
50 cp -a $install/usr/bin $fs/usr
51 cp -a $install/usr/share/$PACKAGE $fs/usr/share
52 rm -rf $fs/usr/share/$PACKAGE/examples
53 # ffplay with it SDL dep go in a splited package
54 rm $fs/usr/bin/ffplay
55 }