wok-stable view ffmpeg/receipt @ rev 1874
Fix BUILD_DEPENDS and little hack for amsn
author | Julien Rabier <taziden@slitaz.org> |
---|---|
date | Wed Dec 17 04:47:23 2008 +0100 (2008-12-17) |
parents | |
children | 3eacc9c96968 |
line source
1 # SliTaz package receipt.
3 PACKAGE="ffmpeg"
4 VERSION="15261"
5 CATEGORY="multimedia"
6 SHORT_DESC="Record, convert and stream audio and video."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 WEB_SITE="http://ffmpg.org/"
9 BUILD_DEPENDS="subversion"
11 # Référence externe extraite à la révision 27917.
12 #
13 # Révision 15261 extraite.
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 mkdir $src 2> /dev/null
19 cd $src
20 [ -f ffmpeg/configure ] || svn checkout -r $VERSION \
21 svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg
22 cd ffmpeg
23 sed -i 's/pr -. -t/cat/' configure
24 ./configure --prefix=/usr --enable-gpl \
25 --disable-mmx --disable-mmx2 --disable-ssse3 --arch=i486 --cpu=i486 &&
26 make &&
27 make DESTDIR=$PWD/../_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $_pkg/usr/bin $fs/usr
35 cp -a $_pkg/usr/lib/vhook $fs/usr/lib
36 }