wok annotate ffmpeg/receipt @ rev 8652

Fixed lighttpd-ssl to not use stuff soft line but to use it directly.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Feb 15 20:49:24 2011 +0000 (2011-02-15)
parents d8afcddcae3c
children b7e210940c3e
rev   line source
pascal@1708 1 # SliTaz package receipt.
pascal@1708 2
pascal@1708 3 PACKAGE="ffmpeg"
slaxemulator@6878 4 VERSION="0.6.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"
gokhlayeh@8008 12 BUILD_DEPENDS="imlib2-dev freetype-dev libsdl-dev zlib-dev coreutils-file-format \
gokhlayeh@8008 13 coreutils-file-special"
pankso@4460 14 SUGGESTED="ffplay"
jozee@4936 15 TAGS="audio video convert stream"
pascal@1708 16
pascal@1708 17 # Rules to configure and make the package.
pascal@1708 18 compile_rules()
pascal@1708 19 {
pascal@1708 20 cd $src
erjo@5902 21
erjo@5902 22 # Fix gcc45 build.
gokhlayeh@8615 23 patch -p1 < ../stuff/ffmpeg-0.5.1-gcc45.u || return 1
erjo@5902 24
pankso@4460 25 ./configure \
pankso@4460 26 --prefix=/usr \
pankso@4460 27 --enable-gpl \
pankso@4460 28 --arch=i486 \
pankso@4460 29 --cpu=i486 \
pankso@4460 30 --enable-shared \
pankso@4460 31 --enable-small \
pankso@4460 32 --enable-pthreads \
pankso@4460 33 --enable-postproc \
pankso@5402 34 --enable-swscale \
pankso@4460 35 --disable-mmx \
pankso@4460 36 --disable-mmx2 \
pankso@4460 37 --disable-ssse3 &&
pascal@1708 38 make &&
pascal@4285 39 make DESTDIR=$PWD/_pkg install
pascal@1708 40 }
pascal@1708 41
pascal@1708 42 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1708 43 genpkg_rules()
pascal@1708 44 {
pankso@4460 45 mkdir -p $fs/usr/lib
jozee@2675 46 cp -a $_pkg/usr/lib/*so* $fs/usr/lib
pankso@4460 47 cp -a $_pkg/usr/bin $fs/usr
pankso@4460 48 # ffplay with it SDL dep go in a splited package
pankso@4460 49 rm $fs/usr/bin/ffplay
pascal@1708 50 }