wok diff ffmpeg/receipt @ 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 bcdadd8bfbfa
children c5f7c8ee2f96
line diff
     1.1 --- a/ffmpeg/receipt	Mon Mar 16 21:45:33 2009 +0000
     1.2 +++ b/ffmpeg/receipt	Tue Apr 21 12:40:38 2009 +0000
     1.3 @@ -1,17 +1,19 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="ffmpeg"
     1.7 -VERSION="15261"
     1.8 +VERSION="18330"
     1.9  CATEGORY="multimedia"
    1.10  SHORT_DESC="Record, convert and stream audio and video."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12 -WEB_SITE="http://ffmpg.org/"
    1.13 +WEB_SITE="http://ffmpeg.org/"
    1.14  DEPENDS="bzlib freetype libSDL libiconv imlib2"
    1.15  BUILD_DEPENDS="subversion"
    1.16  
    1.17 +
    1.18 +
    1.19  # Référence externe extraite à la révision 27917.
    1.20 -#
    1.21 -# Révision 15261 extraite.
    1.22 +# 
    1.23 +# Révision 15261 extraite. 
    1.24  
    1.25  # Rules to configure and make the package.
    1.26  compile_rules()
    1.27 @@ -23,7 +25,10 @@
    1.28  	cd ffmpeg
    1.29  	sed -i 's/pr -. -t/cat/' configure
    1.30  	./configure --prefix=/usr --enable-gpl \
    1.31 -	--disable-mmx --disable-mmx2 --disable-ssse3 --arch=i486 --cpu=i486 &&
    1.32 +	--arch=i486 --cpu=i486 \
    1.33 +	--enable-shared --enable-small \
    1.34 +	--enable-postproc \
    1.35 +	--disable-mmx  --disable-mmx2 --disable-ssse3 &&
    1.36  	make &&
    1.37  	make DESTDIR=$PWD/../_pkg install
    1.38  }
    1.39 @@ -31,8 +36,9 @@
    1.40  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.41  genpkg_rules()
    1.42  {
    1.43 -	mkdir -p $fs/usr/lib
    1.44 -	cp -a $_pkg/usr/bin $fs/usr
    1.45 +	mkdir -p $fs/usr/lib $fs/usr/bin
    1.46  	cp -a $_pkg/usr/lib/vhook $fs/usr/lib
    1.47 +	cp -a $_pkg/usr/lib/*so* $fs/usr/lib
    1.48 +	cp -a $_pkg/usr/bin $fs/usr/		
    1.49  }
    1.50