wok view ffmpeg/receipt @ rev 14143
libmnl*: fix category
author | Samuel Trassare <samuel_trassare@yahoo.com> |
---|---|
date | Fri Mar 01 09:11:04 2013 -0800 (2013-03-01) |
parents | 0bfc759d1bad |
children | 26fa1b18a2ce |
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-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 }