wok-next annotate ffmpeg/receipt @ rev 13573

jabberd2: fix WGET_URL
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Nov 04 18:59:49 2012 +0100 (2012-11-04)
parents 7cd2b8614ba7
children 10b80db82747
rev   line source
pascal@1708 1 # SliTaz package receipt.
pascal@1708 2
pascal@1708 3 PACKAGE="ffmpeg"
pankso@13016 4 VERSION="0.11.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@13016 11 SUGGESTED="ffplay"
pankso@13016 12 TAGS="audio video convert stream"
pankso@13016 13
domcox@12846 14 DEPENDS="alsa-lib"
domcox@12846 15 BUILD_DEPENDS="libsdl-dev zlib-dev bzip2-dev coreutils-file-format \
domcox@12846 16 coreutils-file-special yasm"
pascal@1708 17
pascal@1708 18 # Rules to configure and make the package.
pascal@1708 19 compile_rules()
pascal@1708 20 {
pascal@1708 21 cd $src
pankso@4460 22 ./configure \
pankso@4460 23 --prefix=/usr \
domcox@12846 24 --enable-shared \
domcox@12846 25 --disable-static \
pankso@4460 26 --enable-gpl \
domcox@12846 27 --enable-runtime-cpudetect \
domcox@12846 28 --enable-pthreads \
pankso@4460 29 --enable-small \
domcox@12846 30 --disable-ffprobe \
domcox@12846 31 --disable-ffserver \
domcox@12846 32 --disable-encoder=h263 \
domcox@12846 33 --disable-encoder=h263p \
domcox@12846 34 --disable-encoder=mpeg2video \
domcox@12846 35 --disable-encoder=mpeg4 \
domcox@12846 36 --disable-encoder=msmpeg4v1 \
domcox@12846 37 --disable-encoder=msmpeg4v2 \
domcox@12846 38 --disable-encoder=msmpeg4v3 \
domcox@12846 39 --disable-symver \
domcox@12846 40 --disable-debug \
pankso@13016 41 --disable-doc &&
pankso@13016 42 make && make install
pascal@1708 43 }
pascal@1708 44
pascal@1708 45 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1708 46 genpkg_rules()
pascal@1708 47 {
pankso@13016 48 mkdir -p $fs/usr/lib $fs/usr/share
pankso@13016 49 cp -a $install/usr/lib/*so* $fs/usr/lib
pankso@13016 50 cp -a $install/usr/bin $fs/usr
pankso@13016 51 cp -a $install/usr/share/$PACKAGE $fs/usr/share
pankso@13016 52 rm -rf $fs/usr/share/$PACKAGE/examples
pankso@4460 53 # ffplay with it SDL dep go in a splited package
pankso@4460 54 rm $fs/usr/bin/ffplay
pascal@1708 55 }