wok-next view ffmpeg/receipt @ rev 14590
drbl: its really hard to find all deps - ok, add some of them; also shrink loooong 'short desc' and add description
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon May 27 00:27:59 2013 +0000 (2013-05-27) |
parents | 10b80db82747 |
children | 7bb096863642 |
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 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-avresample \
29 --enable-pthreads \
30 --enable-small \
31 --disable-ffprobe \
32 --disable-ffserver \
33 --disable-encoder=h263 \
34 --disable-encoder=h263p \
35 --disable-encoder=mpeg2video \
36 --disable-encoder=mpeg4 \
37 --disable-encoder=msmpeg4v1 \
38 --disable-encoder=msmpeg4v2 \
39 --disable-encoder=msmpeg4v3 \
40 --disable-symver \
41 --disable-debug \
42 --disable-doc &&
43 make && make install
44 }
46 # Rules to gen a SliTaz package suitable for Tazpkg.
47 genpkg_rules()
48 {
49 mkdir -p $fs/usr/lib $fs/usr/share
50 cp -a $install/usr/lib/*so* $fs/usr/lib
51 cp -a $install/usr/bin $fs/usr
52 cp -a $install/usr/share/$PACKAGE $fs/usr/share
53 rm -rf $fs/usr/share/$PACKAGE/examples
54 # ffplay with it SDL dep go in a splited package
55 rm $fs/usr/bin/ffplay
56 }