wok view ffmpeg-svn/receipt @ rev 8784

Fix-dep: tazwok depends on libtaz
author Antoine Bodin <gokhlayeh@slitaz.org>
date Tue Feb 22 22:30:34 2011 +0100 (2011-02-22)
parents 1f48fd1fd933
children b206bd64aef7
line source
1 # SliTaz package receipt.
3 PACKAGE="ffmpeg-svn"
4 VERSION="23117"
5 CATEGORY="multimedia"
6 SHORT_DESC="Record, convert and stream audio and video."
7 MAINTAINER="jozee@slitaz.org"
8 WEB_SITE="http://ffmpeg.org/"
9 DEPENDS="bzlib freetype imlib2 alsa-lib jack-audio-connection-kit zlib"
10 BUILD_DEPENDS="subversion imlib2-dev freetype-dev libsdl-dev zlib-dev \
11 coreutils-file-format coreutils-file-special"
12 PROVIDE="ffmpeg"
13 SUGGESTED="ffplay"
14 TAGS="audio video convert stream"
15 WGET_URL="subversion|svn://svn.ffmpeg.org/ffmpeg/trunk"
16 BRANCH="$VERSION"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
23 sed -i 's/av_bswap/bswap_/' libswscale/*.c
25 # Fix configure for GCC 4.5.0
26 sed -i 's/"\$@" >> \$logfile 2/$@ >> $logfile 2/' configure
27 ./configure \
28 --prefix=/usr \
29 --enable-gpl \
30 --arch=i486 \
31 --cpu=i486 \
32 --enable-shared \
33 --enable-small \
34 --enable-pthreads \
35 --enable-postproc \
36 --disable-mmx \
37 --disable-mmx2 \
38 --disable-ssse3 &&
39 make &&
40 make DESTDIR=$PWD/../_pkg install
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 mkdir -p $fs/usr/lib
47 cp -a $_pkg/usr/lib/*so* $fs/usr/lib
48 cp -a $_pkg/usr/bin $fs/usr
49 # ffplay with it SDL dep go in a splited package
50 rm $fs/usr/bin/ffplay
51 }