wok annotate ffmpeg/receipt @ rev 3343

Depends: ddd
author Matthew Sheets <rcx@zoominternet.net>
date Thu Jun 11 10:05:58 2009 +0000 (2009-06-11)
parents 96ff12f60c06
children e8024c01fc47
rev   line source
pascal@1708 1 # SliTaz package receipt.
pascal@1708 2
pascal@1708 3 PACKAGE="ffmpeg"
jozee@2908 4 VERSION="18755"
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/"
pankso@3164 9 DEPENDS="bzlib freetype libSDL imlib2 alsa-lib jack-audio-connection-kit"
pascal@1708 10 BUILD_DEPENDS="subversion"
pascal@1708 11
pascal@1708 12 # Référence externe extraite à la révision 27917.
jozee@2675 13 #
jozee@2908 14 # Révision 18775 extraite.
pascal@1708 15
pascal@1708 16 # Rules to configure and make the package.
pascal@1708 17 compile_rules()
pascal@1708 18 {
pascal@1708 19 mkdir $src 2> /dev/null
pascal@1708 20 cd $src
jozee@2710 21 [ -f ffmpeg/configure ] || svn checkout -r 'HEAD' \
pascal@1708 22 svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg
pascal@1708 23 cd ffmpeg
pascal@1708 24 sed -i 's/pr -. -t/cat/' configure
jozee@2680 25 # mktemp busybox hack patch
jozee@2710 26 #patch -p0 < ../../stuff/build.patch
jozee@2710 27 cp -a ../../stuff/configure .
jozee@2710 28
pascal@1708 29 ./configure --prefix=/usr --enable-gpl \
jozee@2675 30 --arch=i486 --cpu=i486 \
jozee@2675 31 --enable-shared --enable-small \
jozee@2675 32 --enable-postproc \
jozee@2675 33 --disable-mmx --disable-mmx2 --disable-ssse3 &&
pascal@1708 34 make &&
pascal@1708 35 make DESTDIR=$PWD/../_pkg install
pascal@1708 36 }
pascal@1708 37
pascal@1708 38 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1708 39 genpkg_rules()
pascal@1708 40 {
jozee@2680 41 mkdir -p $fs/usr/lib
jozee@2675 42 cp -a $_pkg/usr/lib/*so* $fs/usr/lib
pankso@3164 43 cp -a $_pkg/usr/bin $fs/usr
pascal@1708 44 }