wok-next view ffmpeg-svn/receipt @ rev 15365

php: enable-maintainer-zts, why do we need that ?
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Oct 03 17:11:03 2013 +0000 (2013-10-03)
parents 8437ad3ae814
children
line source
1 # SliTaz package receipt.
3 PACKAGE="ffmpeg-svn"
4 VERSION="26402"
5 CATEGORY="multimedia"
6 SHORT_DESC="Record, convert and stream audio and video."
7 MAINTAINER="jozee@slitaz.org"
8 LICENSE="GPL2 LGPL2.1"
9 WEB_SITE="http://ffmpeg.org/"
10 PROVIDE="ffmpeg"
11 SUGGESTED="ffplay"
12 TAGS="audio video convert stream"
13 TARBALL="$PACKAGE-$VERSION.tar.bz2"
14 WGET_URL="subversion|svn://svn.ffmpeg.org/ffmpeg/trunk"
15 BRANCH="$VERSION"
17 DEPENDS="bzlib freetype imlib2 alsa-lib jack-audio-connection-kit zlib"
18 BUILD_DEPENDS="subversion imlib2-dev freetype-dev libsdl-dev zlib-dev \
19 coreutils-file-format coreutils-file-special"
21 # Rules to configure and make the package.
22 compile_rules()
23 {
24 cd $src
26 # Fix configure for GCC 4.5.0
27 sed -i 's/"\$@" >> \$logfile 2/$@ >> $logfile 2/' configure
28 ./configure \
29 --prefix=/usr \
30 --enable-gpl \
31 --arch=$ARCH \
32 --cpu=$ARCH \
33 --enable-shared \
34 --enable-small \
35 --enable-pthreads \
36 --enable-postproc \
37 --disable-mmx \
38 --disable-mmx2 \
39 --disable-ssse3 &&
40 make &&
41 make DESTDIR=$DESTDIR install
42 }
44 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 mkdir -p $fs/usr/lib
48 cp -a $install/usr/lib/*so* $fs/usr/lib
49 cp -a $install/usr/bin $fs/usr
50 # ffplay with it SDL dep go in a splited package
51 rm $fs/usr/bin/ffplay
52 }