wok view ffmpeg-git/receipt @ rev 16027

Add to ARM: libnl, wpa_supplicant, wput
author Christophe Lincoln <pankso@slitaz.org>
date Sat Mar 08 07:29:53 2014 +0100 (2014-03-08)
parents
children 3cc39ed4571a
line source
1 # SliTaz package receipt.
3 PACKAGE="ffmpeg-git"
4 VERSION="snapshot"
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-mmx2 \
35 --disable-ssse3 &&
36 make &&
37 make DESTDIR=$DESTDIR install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/lib
44 cp -a $install/usr/lib/*so* $fs/usr/lib
45 cp -a $install/usr/bin $fs/usr
46 # ffplay with it SDL dep go in a splited package
47 rm $fs/usr/bin/ffplay
48 }