wok-6.x view ffmpeg-svn/receipt @ rev 15171
gummi: add LDFLAGS
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Aug 16 08:40:38 2013 +0000 (2013-08-16) |
parents | 518a64ad039f |
children | 7bb096863642 |
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 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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
16 WGET_URL="subversion|svn://svn.ffmpeg.org/ffmpeg/trunk"
17 BRANCH="$VERSION"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
24 # Fix configure for GCC 4.5.0
25 sed -i 's/"\$@" >> \$logfile 2/$@ >> $logfile 2/' configure
26 ./configure \
27 --prefix=/usr \
28 --enable-gpl \
29 --arch=$ARCH \
30 --cpu=$ARCH \
31 --enable-shared \
32 --enable-small \
33 --enable-pthreads \
34 --enable-postproc \
35 --disable-mmx \
36 --disable-mmx2 \
37 --disable-ssse3 &&
38 make &&
39 make DESTDIR=$DESTDIR install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr/lib
46 cp -a $install/usr/lib/*so* $fs/usr/lib
47 cp -a $install/usr/bin $fs/usr
48 # ffplay with it SDL dep go in a splited package
49 rm $fs/usr/bin/ffplay
50 }