wok-6.x view ffmpeg/receipt @ rev 2901

Up: locale-pt_BR (add stuff dir and files under it)
author Claudinei Pereira <claudinei@slitaz.org>
date Wed May 06 02:01:42 2009 +0000 (2009-05-06)
parents 0f5ea8972a38
children 96ff12f60c06
line source
1 # SliTaz package receipt.
3 PACKAGE="ffmpeg"
4 VERSION="18664"
5 CATEGORY="multimedia"
6 SHORT_DESC="Record, convert and stream audio and video."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 WEB_SITE="http://ffmpeg.org/"
9 DEPENDS="bzlib freetype libSDL libiconv imlib2 alsa-lib jack-audio-connection-kit"
10 BUILD_DEPENDS="subversion"
13 # Référence externe extraite à la révision 27917.
14 #
15 # Révision 18664 extraite.
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 mkdir $src 2> /dev/null
21 cd $src
22 [ -f ffmpeg/configure ] || svn checkout -r 'HEAD' \
23 svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg
24 cd ffmpeg
25 sed -i 's/pr -. -t/cat/' configure
26 # mktemp busybox hack patch
27 #patch -p0 < ../../stuff/build.patch
28 cp -a ../../stuff/configure .
30 ./configure --prefix=/usr --enable-gpl \
31 --arch=i486 --cpu=i486 \
32 --enable-shared --enable-small \
33 --enable-postproc \
34 --disable-mmx --disable-mmx2 --disable-ssse3 &&
35 make &&
36 make DESTDIR=$PWD/../_pkg install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/lib
43 cp -a $_pkg/usr/lib/*so* $fs/usr/lib
44 cp -a $_pkg/usr/bin $fs/usr
46 }