wok-6.x diff ffmpeg/receipt @ rev 13160

slitaz-boot-scripts: use chroot in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 25 18:28:25 2012 +0200 (2012-07-25)
parents 7cd2b8614ba7
children 10b80db82747
line diff
     1.1 --- a/ffmpeg/receipt	Wed May 23 13:00:15 2012 +0200
     1.2 +++ b/ffmpeg/receipt	Wed Jul 25 18:28:25 2012 +0200
     1.3 @@ -1,18 +1,19 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="ffmpeg"
     1.7 -VERSION="0.10.3"
     1.8 +VERSION="0.11.1"
     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://ffmpeg.org/"
    1.13  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.14  WGET_URL="${WEB_SITE}releases/$TARBALL"
    1.15 +SUGGESTED="ffplay"
    1.16 +TAGS="audio video convert stream"
    1.17 +
    1.18  DEPENDS="alsa-lib"
    1.19  BUILD_DEPENDS="libsdl-dev zlib-dev bzip2-dev coreutils-file-format \
    1.20  coreutils-file-special yasm"
    1.21 -SUGGESTED="ffplay"
    1.22 -TAGS="audio video convert stream"
    1.23  
    1.24  # Rules to configure and make the package.
    1.25  compile_rules()
    1.26 @@ -37,19 +38,18 @@
    1.27  		--disable-encoder=msmpeg4v3 \
    1.28  		--disable-symver \
    1.29  		--disable-debug \
    1.30 -		--disable-doc && \
    1.31 -	make &&
    1.32 -	make install
    1.33 +		--disable-doc &&
    1.34 +	make && make install
    1.35  }
    1.36  
    1.37  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.38  genpkg_rules()
    1.39  {
    1.40 -	mkdir -p $fs/usr/lib
    1.41 -	cp -a $_pkg/usr/lib/*so* $fs/usr/lib
    1.42 -	cp -a $_pkg/usr/bin $fs/usr
    1.43 -	mkdir -p $fs/usr/share
    1.44 -	cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
    1.45 +	mkdir -p $fs/usr/lib $fs/usr/share
    1.46 +	cp -a $install/usr/lib/*so* $fs/usr/lib
    1.47 +	cp -a $install/usr/bin $fs/usr
    1.48 +	cp -a $install/usr/share/$PACKAGE $fs/usr/share
    1.49 +	rm -rf $fs/usr/share/$PACKAGE/examples
    1.50  	# ffplay with it SDL dep go in a splited package
    1.51  	rm $fs/usr/bin/ffplay
    1.52  }