wok-next annotate ffmpeg/receipt @ rev 4504
linux: add floppy boot support
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Nov 22 12:46:40 2009 +0100 (2009-11-22) |
parents | 18292a22a63a |
children | fb8aceda65ff |
rev | line source |
---|---|
pascal@1708 | 1 # SliTaz package receipt. |
pascal@1708 | 2 |
pascal@1708 | 3 PACKAGE="ffmpeg" |
pascal@4284 | 4 VERSION="0.5" |
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" |
pascal@1708 | 14 |
pascal@1708 | 15 # Rules to configure and make the package. |
pascal@1708 | 16 compile_rules() |
pascal@1708 | 17 { |
pascal@1708 | 18 cd $src |
pankso@4460 | 19 ./configure \ |
pankso@4460 | 20 --prefix=/usr \ |
pankso@4460 | 21 --enable-gpl \ |
pankso@4460 | 22 --arch=i486 \ |
pankso@4460 | 23 --cpu=i486 \ |
pankso@4460 | 24 --enable-shared \ |
pankso@4460 | 25 --enable-small \ |
pankso@4460 | 26 --enable-pthreads \ |
pankso@4460 | 27 --enable-postproc \ |
pankso@4460 | 28 --disable-mmx \ |
pankso@4460 | 29 --disable-mmx2 \ |
pankso@4460 | 30 --disable-ssse3 && |
pascal@1708 | 31 make && |
pascal@4285 | 32 make DESTDIR=$PWD/_pkg install |
pascal@1708 | 33 } |
pascal@1708 | 34 |
pascal@1708 | 35 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1708 | 36 genpkg_rules() |
pascal@1708 | 37 { |
pankso@4460 | 38 mkdir -p $fs/usr/lib |
jozee@2675 | 39 cp -a $_pkg/usr/lib/*so* $fs/usr/lib |
pankso@4460 | 40 cp -a $_pkg/usr/bin $fs/usr |
pankso@4460 | 41 # ffplay with it SDL dep go in a splited package |
pankso@4460 | 42 rm $fs/usr/bin/ffplay |
pascal@1708 | 43 } |