wok-current annotate ffmpeg/receipt @ rev 1853
Fix: revert to original receipt. sorry.
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sun Dec 14 11:34:06 2008 +0100 (2008-12-14) |
parents | |
children | 3eacc9c96968 |
rev | line source |
---|---|
pascal@1708 | 1 # SliTaz package receipt. |
pascal@1708 | 2 |
pascal@1708 | 3 PACKAGE="ffmpeg" |
pascal@1708 | 4 VERSION="15261" |
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" |
pascal@1708 | 8 WEB_SITE="http://ffmpg.org/" |
pascal@1708 | 9 BUILD_DEPENDS="subversion" |
pascal@1708 | 10 |
pascal@1708 | 11 # Référence externe extraite à la révision 27917. |
pascal@1708 | 12 # |
pascal@1708 | 13 # Révision 15261 extraite. |
pascal@1708 | 14 |
pascal@1708 | 15 # Rules to configure and make the package. |
pascal@1708 | 16 compile_rules() |
pascal@1708 | 17 { |
pascal@1708 | 18 mkdir $src 2> /dev/null |
pascal@1708 | 19 cd $src |
pascal@1708 | 20 [ -f ffmpeg/configure ] || svn checkout -r $VERSION \ |
pascal@1708 | 21 svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg |
pascal@1708 | 22 cd ffmpeg |
pascal@1708 | 23 sed -i 's/pr -. -t/cat/' configure |
pascal@1708 | 24 ./configure --prefix=/usr --enable-gpl \ |
pascal@1708 | 25 --disable-mmx --disable-mmx2 --disable-ssse3 --arch=i486 --cpu=i486 && |
pascal@1708 | 26 make && |
pascal@1708 | 27 make DESTDIR=$PWD/../_pkg install |
pascal@1708 | 28 } |
pascal@1708 | 29 |
pascal@1708 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1708 | 31 genpkg_rules() |
pascal@1708 | 32 { |
pascal@1708 | 33 mkdir -p $fs/usr/lib |
pascal@1708 | 34 cp -a $_pkg/usr/bin $fs/usr |
pascal@1708 | 35 cp -a $_pkg/usr/lib/vhook $fs/usr/lib |
pascal@1708 | 36 } |
pascal@1708 | 37 |