wok-6.x rev 2675
Up: ffmpeg and add compile options for small size
author | Rohit Joshi <jozee@slitaz.org> |
---|---|
date | Tue Apr 21 12:40:38 2009 +0000 (2009-04-21) |
parents | b69fa54df055 |
children | ab720c05cb56 |
files | ffmpeg-dev/receipt ffmpeg/receipt |
line diff
1.1 --- a/ffmpeg-dev/receipt Tue Apr 21 12:33:49 2009 +0000 1.2 +++ b/ffmpeg-dev/receipt Tue Apr 21 12:40:38 2009 +0000 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="ffmpeg-dev" 1.7 -VERSION="15261" 1.8 +VERSION="18330" 1.9 CATEGORY="development" 1.10 SHORT_DESC="Record, convert and stream audio and video, development files." 1.11 MAINTAINER="pascal.bellard@slitaz.org"
2.1 --- a/ffmpeg/receipt Tue Apr 21 12:33:49 2009 +0000 2.2 +++ b/ffmpeg/receipt Tue Apr 21 12:40:38 2009 +0000 2.3 @@ -1,17 +1,19 @@ 2.4 # SliTaz package receipt. 2.5 2.6 PACKAGE="ffmpeg" 2.7 -VERSION="15261" 2.8 +VERSION="18330" 2.9 CATEGORY="multimedia" 2.10 SHORT_DESC="Record, convert and stream audio and video." 2.11 MAINTAINER="pascal.bellard@slitaz.org" 2.12 -WEB_SITE="http://ffmpg.org/" 2.13 +WEB_SITE="http://ffmpeg.org/" 2.14 DEPENDS="bzlib freetype libSDL libiconv imlib2" 2.15 BUILD_DEPENDS="subversion" 2.16 2.17 + 2.18 + 2.19 # Référence externe extraite à la révision 27917. 2.20 -# 2.21 -# Révision 15261 extraite. 2.22 +# 2.23 +# Révision 15261 extraite. 2.24 2.25 # Rules to configure and make the package. 2.26 compile_rules() 2.27 @@ -23,7 +25,10 @@ 2.28 cd ffmpeg 2.29 sed -i 's/pr -. -t/cat/' configure 2.30 ./configure --prefix=/usr --enable-gpl \ 2.31 - --disable-mmx --disable-mmx2 --disable-ssse3 --arch=i486 --cpu=i486 && 2.32 + --arch=i486 --cpu=i486 \ 2.33 + --enable-shared --enable-small \ 2.34 + --enable-postproc \ 2.35 + --disable-mmx --disable-mmx2 --disable-ssse3 && 2.36 make && 2.37 make DESTDIR=$PWD/../_pkg install 2.38 } 2.39 @@ -31,8 +36,9 @@ 2.40 # Rules to gen a SliTaz package suitable for Tazpkg. 2.41 genpkg_rules() 2.42 { 2.43 - mkdir -p $fs/usr/lib 2.44 - cp -a $_pkg/usr/bin $fs/usr 2.45 + mkdir -p $fs/usr/lib $fs/usr/bin 2.46 cp -a $_pkg/usr/lib/vhook $fs/usr/lib 2.47 + cp -a $_pkg/usr/lib/*so* $fs/usr/lib 2.48 + cp -a $_pkg/usr/bin $fs/usr/ 2.49 } 2.50