wok view ffmpeg/receipt @ rev 2673

mirror-tools/mkpkgiso: add mount-packages
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 21 11:08:45 2009 +0200 (2009-04-21)
parents 3eacc9c96968
children 7d6849d4f7bc
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 DEPENDS="bzlib freetype libSDL libiconv imlib2"
10 BUILD_DEPENDS="subversion"
12 # Référence externe extraite à la révision 27917.
13 #
14 # Révision 15261 extraite.
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 mkdir $src 2> /dev/null
20 cd $src
21 [ -f ffmpeg/configure ] || svn checkout -r $VERSION \
22 svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg
23 cd ffmpeg
24 sed -i 's/pr -. -t/cat/' configure
25 ./configure --prefix=/usr --enable-gpl \
26 --disable-mmx --disable-mmx2 --disable-ssse3 --arch=i486 --cpu=i486 &&
27 make &&
28 make DESTDIR=$PWD/../_pkg install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
35 cp -a $_pkg/usr/bin $fs/usr
36 cp -a $_pkg/usr/lib/vhook $fs/usr/lib
37 }