# HG changeset patch # User Rohit Joshi # Date 1240317638 0 # Node ID 7d6849d4f7bcfae9e7dfdcefbf34f9c895a49c84 # Parent b69fa54df05560a700f253121438a1c64acdfed8 Up: ffmpeg and add compile options for small size diff -r b69fa54df055 -r 7d6849d4f7bc ffmpeg-dev/receipt --- a/ffmpeg-dev/receipt Tue Apr 21 12:33:49 2009 +0000 +++ b/ffmpeg-dev/receipt Tue Apr 21 12:40:38 2009 +0000 @@ -1,7 +1,7 @@ # SliTaz package receipt. PACKAGE="ffmpeg-dev" -VERSION="15261" +VERSION="18330" CATEGORY="development" SHORT_DESC="Record, convert and stream audio and video, development files." MAINTAINER="pascal.bellard@slitaz.org" diff -r b69fa54df055 -r 7d6849d4f7bc ffmpeg/receipt --- a/ffmpeg/receipt Tue Apr 21 12:33:49 2009 +0000 +++ b/ffmpeg/receipt Tue Apr 21 12:40:38 2009 +0000 @@ -1,17 +1,19 @@ # SliTaz package receipt. PACKAGE="ffmpeg" -VERSION="15261" +VERSION="18330" CATEGORY="multimedia" SHORT_DESC="Record, convert and stream audio and video." MAINTAINER="pascal.bellard@slitaz.org" -WEB_SITE="http://ffmpg.org/" +WEB_SITE="http://ffmpeg.org/" DEPENDS="bzlib freetype libSDL libiconv imlib2" BUILD_DEPENDS="subversion" + + # Référence externe extraite à la révision 27917. -# -# Révision 15261 extraite. +# +# Révision 15261 extraite. # Rules to configure and make the package. compile_rules() @@ -23,7 +25,10 @@ cd ffmpeg sed -i 's/pr -. -t/cat/' configure ./configure --prefix=/usr --enable-gpl \ - --disable-mmx --disable-mmx2 --disable-ssse3 --arch=i486 --cpu=i486 && + --arch=i486 --cpu=i486 \ + --enable-shared --enable-small \ + --enable-postproc \ + --disable-mmx --disable-mmx2 --disable-ssse3 && make && make DESTDIR=$PWD/../_pkg install } @@ -31,8 +36,9 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - mkdir -p $fs/usr/lib - cp -a $_pkg/usr/bin $fs/usr + mkdir -p $fs/usr/lib $fs/usr/bin cp -a $_pkg/usr/lib/vhook $fs/usr/lib + cp -a $_pkg/usr/lib/*so* $fs/usr/lib + cp -a $_pkg/usr/bin $fs/usr/ }