wok-6.x rev 1708
Add ffmpeg
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 15 21:36:09 2008 +0000 (2008-11-15) |
parents | 94cd3ca7174d |
children | 82c1b848ae3b |
files | ffmpeg-dev/receipt ffmpeg/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/ffmpeg-dev/receipt Sat Nov 15 21:36:09 2008 +0000 1.3 @@ -0,0 +1,19 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="ffmpeg-dev" 1.7 +VERSION="15261" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="Record, convert and stream audio and video, development files." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +WEB_SITE="http://ffmpg.org/" 1.12 +WANTED="ffmpeg" 1.13 + 1.14 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.15 +genpkg_rules() 1.16 +{ 1.17 + mkdir -p $fs/usr/lib 1.18 + cp -a $_pkg/usr/include $fs/usr 1.19 + cp -a $_pkg/usr/lib/*.a $fs/usr/lib 1.20 + cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib 1.21 +} 1.22 +
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/ffmpeg/receipt Sat Nov 15 21:36:09 2008 +0000 2.3 @@ -0,0 +1,37 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="ffmpeg" 2.7 +VERSION="15261" 2.8 +CATEGORY="multimedia" 2.9 +SHORT_DESC="Record, convert and stream audio and video." 2.10 +MAINTAINER="pascal.bellard@slitaz.org" 2.11 +WEB_SITE="http://ffmpg.org/" 2.12 +BUILD_DEPENDS="subversion" 2.13 + 2.14 +# Référence externe extraite à la révision 27917. 2.15 +# 2.16 +# Révision 15261 extraite. 2.17 + 2.18 +# Rules to configure and make the package. 2.19 +compile_rules() 2.20 +{ 2.21 + mkdir $src 2> /dev/null 2.22 + cd $src 2.23 + [ -f ffmpeg/configure ] || svn checkout -r $VERSION \ 2.24 + svn://svn.ffmpeg.org/ffmpeg/trunk ffmpeg 2.25 + cd ffmpeg 2.26 + sed -i 's/pr -. -t/cat/' configure 2.27 + ./configure --prefix=/usr --enable-gpl \ 2.28 + --disable-mmx --disable-mmx2 --disable-ssse3 --arch=i486 --cpu=i486 && 2.29 + make && 2.30 + make DESTDIR=$PWD/../_pkg install 2.31 +} 2.32 + 2.33 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.34 +genpkg_rules() 2.35 +{ 2.36 + mkdir -p $fs/usr/lib 2.37 + cp -a $_pkg/usr/bin $fs/usr 2.38 + cp -a $_pkg/usr/lib/vhook $fs/usr/lib 2.39 +} 2.40 +