wok-next view ffmpeg/receipt @ rev 4653

Add snort
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Dec 27 14:28:40 2009 +0100 (2009-12-27)
parents 18292a22a63a
children fb8aceda65ff
line source
1 # SliTaz package receipt.
3 PACKAGE="ffmpeg"
4 VERSION="0.5"
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="bzlib freetype imlib2 alsa-lib jack-audio-connection-kit zlib"
12 BUILD_DEPENDS="imlib2-dev freetype-dev libsdl-dev zlib-dev coreutils-file-format"
13 SUGGESTED="ffplay"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --enable-gpl \
22 --arch=i486 \
23 --cpu=i486 \
24 --enable-shared \
25 --enable-small \
26 --enable-pthreads \
27 --enable-postproc \
28 --disable-mmx \
29 --disable-mmx2 \
30 --disable-ssse3 &&
31 make &&
32 make DESTDIR=$PWD/_pkg install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib
39 cp -a $_pkg/usr/lib/*so* $fs/usr/lib
40 cp -a $_pkg/usr/bin $fs/usr
41 # ffplay with it SDL dep go in a splited package
42 rm $fs/usr/bin/ffplay
43 }