wok-current view ffmpeg/receipt @ rev 4194
netatalk*: fix FSH
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Sep 23 16:37:17 2009 +0200 (2009-09-23) |
parents | 45790f0c3d53 |
children | 2ec9b37c540b |
line source
1 # SliTaz package receipt.
3 PACKAGE="ffmpeg"
4 VERSION="18755"
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 imlib2 alsa-lib jack-audio-connection-kit"
10 BUILD_DEPENDS="subversion"
12 # Référence externe extraite à la révision 27917.
13 #
14 # Révision 18775 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 'HEAD' \
22 svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg
23 cd ffmpeg
24 sed -i 's/pr -. -t/cat/' configure
25 # mktemp busybox hack patch
26 #patch -p0 < ../../stuff/build.patch
27 cp -a ../../stuff/configure .
29 ./configure --prefix=/usr --enable-gpl \
30 --arch=i486 --cpu=i486 \
31 --enable-shared --enable-small \
32 --enable-postproc \
33 --disable-mmx --disable-mmx2 --disable-ssse3 &&
34 make &&
35 make DESTDIR=$PWD/../_pkg install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/lib
42 cp -a $_pkg/usr/lib/*so* $fs/usr/lib
43 cp -a $_pkg/usr/bin $fs/usr
44 }