wok-next annotate ffmpeg/receipt @ rev 3118
update 915 resolution with latest patch from Arch
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Mon May 18 17:40:11 2009 +0000 (2009-05-18) |
parents | 583bdd691510 |
children | 45790f0c3d53 |
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/" |
pascal@2845 | 9 DEPENDS="bzlib freetype libSDL libiconv imlib2 alsa-lib jack-audio-connection-kit" |
pascal@1708 | 10 BUILD_DEPENDS="subversion" |
pascal@1708 | 11 |
jozee@2675 | 12 |
pascal@1708 | 13 # Référence externe extraite à la révision 27917. |
jozee@2675 | 14 # |
jozee@2908 | 15 # Révision 18775 extraite. |
pascal@1708 | 16 |
pascal@1708 | 17 # Rules to configure and make the package. |
pascal@1708 | 18 compile_rules() |
pascal@1708 | 19 { |
pascal@1708 | 20 mkdir $src 2> /dev/null |
pascal@1708 | 21 cd $src |
jozee@2710 | 22 [ -f ffmpeg/configure ] || svn checkout -r 'HEAD' \ |
pascal@1708 | 23 svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg |
pascal@1708 | 24 cd ffmpeg |
pascal@1708 | 25 sed -i 's/pr -. -t/cat/' configure |
jozee@2680 | 26 # mktemp busybox hack patch |
jozee@2710 | 27 #patch -p0 < ../../stuff/build.patch |
jozee@2710 | 28 cp -a ../../stuff/configure . |
jozee@2710 | 29 |
pascal@1708 | 30 ./configure --prefix=/usr --enable-gpl \ |
jozee@2675 | 31 --arch=i486 --cpu=i486 \ |
jozee@2675 | 32 --enable-shared --enable-small \ |
jozee@2675 | 33 --enable-postproc \ |
jozee@2675 | 34 --disable-mmx --disable-mmx2 --disable-ssse3 && |
pascal@1708 | 35 make && |
pascal@1708 | 36 make DESTDIR=$PWD/../_pkg install |
pascal@1708 | 37 } |
pascal@1708 | 38 |
pascal@1708 | 39 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1708 | 40 genpkg_rules() |
pascal@1708 | 41 { |
jozee@2680 | 42 mkdir -p $fs/usr/lib |
jozee@2675 | 43 cp -a $_pkg/usr/lib/*so* $fs/usr/lib |
jozee@2680 | 44 cp -a $_pkg/usr/bin $fs/usr |
jozee@2680 | 45 |
pascal@1708 | 46 } |
pascal@1708 | 47 |