wok-current view ffmpeg-git/receipt @ rev 16761

Up: isomaster (1.3.11)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Jun 17 04:55:00 2014 +0300 (2014-06-17)
parents 3cc39ed4571a
children
line source
1 # SliTaz package receipt.
3 PACKAGE="ffmpeg-git"
4 VERSION="20140308"
5 CATEGORY="multimedia"
6 SHORT_DESC="Record, convert and stream audio and video (Devel version)."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2 LGPL2.1"
9 WEB_SITE="http://ffmpeg.org/"
10 PROVIDE="ffmpeg"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="git|git://source.ffmpeg.org/ffmpeg.git"
14 TAGS="audio video convert stream"
15 DEPENDS="bzlib freetype imlib2 alsa-lib jack-audio-connection-kit zlib"
16 BUILD_DEPENDS="subversion imlib2-dev freetype-dev libsdl-dev zlib-dev \
17 coreutils-file-format coreutils-file-special"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 # Fix configure for GCC 4.5.0
23 #sed -i 's/"\$@" >> \$logfile 2/$@ >> $logfile 2/' configure
24 ./configure \
25 --prefix=/usr \
26 --enable-gpl \
27 --arch=$ARCH \
28 --cpu=$ARCH \
29 --enable-shared \
30 --enable-small \
31 --enable-pthreads \
32 --enable-postproc \
33 --disable-mmx \
34 --disable-ssse3 &&
35 make &&
36 make DESTDIR=$DESTDIR install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/lib
43 cp -a $install/usr/lib/*so* $fs/usr/lib
44 cp -a $install/usr/bin $fs/usr
45 # ffplay with it SDL dep go in a splited package
46 rm $fs/usr/bin/ffplay
47 }