wok-6.x annotate ffmpeg/receipt @ rev 5691

linux: add missing patches
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 05 13:07:53 2010 +0200 (2010-06-05)
parents 7a3e60dd9305
children 40c1764bd2dd
rev   line source
pascal@1708 1 # SliTaz package receipt.
pascal@1708 2
pascal@1708 3 PACKAGE="ffmpeg"
slaxemulator@5347 4 VERSION="0.5.1"
pascal@1708 5 CATEGORY="multimedia"
pascal@1708 6 SHORT_DESC="Record, convert and stream audio and video."
pascal@1708 7 MAINTAINER="pascal.bellard@slitaz.org"
jozee@2675 8 WEB_SITE="http://ffmpeg.org/"
pascal@4284 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@4284 10 WGET_URL="${WEB_SITE}releases/$TARBALL"
pankso@4460 11 DEPENDS="bzlib freetype imlib2 alsa-lib jack-audio-connection-kit zlib"
pankso@4460 12 BUILD_DEPENDS="imlib2-dev freetype-dev libsdl-dev zlib-dev coreutils-file-format"
pankso@4460 13 SUGGESTED="ffplay"
jozee@4936 14 TAGS="audio video convert stream"
pascal@1708 15
pascal@1708 16 # Rules to configure and make the package.
pascal@1708 17 compile_rules()
pascal@1708 18 {
pascal@1708 19 cd $src
pankso@4460 20 ./configure \
pankso@4460 21 --prefix=/usr \
pankso@4460 22 --enable-gpl \
pankso@4460 23 --arch=i486 \
pankso@4460 24 --cpu=i486 \
pankso@4460 25 --enable-shared \
pankso@4460 26 --enable-small \
pankso@4460 27 --enable-pthreads \
pankso@4460 28 --enable-postproc \
pankso@5402 29 --enable-swscale \
pankso@4460 30 --disable-mmx \
pankso@4460 31 --disable-mmx2 \
pankso@4460 32 --disable-ssse3 &&
pascal@1708 33 make &&
pascal@4285 34 make DESTDIR=$PWD/_pkg install
pascal@1708 35 }
pascal@1708 36
pascal@1708 37 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1708 38 genpkg_rules()
pascal@1708 39 {
pankso@4460 40 mkdir -p $fs/usr/lib
jozee@2675 41 cp -a $_pkg/usr/lib/*so* $fs/usr/lib
pankso@4460 42 cp -a $_pkg/usr/bin $fs/usr
pankso@4460 43 # ffplay with it SDL dep go in a splited package
pankso@4460 44 rm $fs/usr/bin/ffplay
pascal@1708 45 }