wok view ffmpeg/receipt @ rev 15217
Add pidgin-otr
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Sep 16 12:39:13 2013 +0000 (2013-09-16) |
parents | 26fa1b18a2ce |
children | 61bec0518c8c |
line source
1 # SliTaz package receipt.
3 PACKAGE="ffmpeg"
4 VERSION="1.0"
5 CATEGORY="multimedia"
6 SHORT_DESC="Record, convert and stream audio and video."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2 LGPL2.1"
9 WEB_SITE="http://ffmpeg.org/"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="${WEB_SITE}releases/$TARBALL"
12 SUGGESTED="ffplay"
13 TAGS="audio video convert stream"
15 DEPENDS="alsa-lib"
16 BUILD_DEPENDS="libsdl-dev zlib-dev bzip2-dev coreutils-file-format \
17 coreutils-file-special yasm"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 ./configure \
24 --prefix=/usr \
25 --enable-shared \
26 --disable-static \
27 --enable-gpl \
28 --enable-runtime-cpudetect \
29 --enable-avresample \
30 --enable-pthreads \
31 --enable-small \
32 --disable-ffprobe \
33 --disable-ffserver \
34 --disable-encoder=h263 \
35 --disable-encoder=h263p \
36 --disable-encoder=mpeg2video \
37 --disable-encoder=mpeg4 \
38 --disable-encoder=msmpeg4v1 \
39 --disable-encoder=msmpeg4v2 \
40 --disable-encoder=msmpeg4v3 \
41 --disable-symver \
42 --disable-debug \
43 --disable-doc &&
44 make && make install
45 }
47 # Rules to gen a SliTaz package suitable for Tazpkg.
48 genpkg_rules()
49 {
50 mkdir -p $fs/usr/lib $fs/usr/share
51 cp -a $install/usr/lib/*so* $fs/usr/lib
52 cp -a $install/usr/bin $fs/usr
53 cp -a $install/usr/share/$PACKAGE $fs/usr/share
54 rm -rf $fs/usr/share/$PACKAGE/examples
55 # ffplay with it SDL dep go in a splited package
56 rm $fs/usr/bin/ffplay
57 }