wok diff mlt/receipt @ rev 6826

Add mlt: mv from undigest
author Rohit Joshi <jozee@slitaz.org>
date Tue Oct 19 21:09:51 2010 -0400 (2010-10-19)
parents
children 99e8c056d76f
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/mlt/receipt	Tue Oct 19 21:09:51 2010 -0400
     1.3 @@ -0,0 +1,38 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="mlt"
     1.7 +VERSION="0.5.0"
     1.8 +CATEGORY="multimedia"
     1.9 +MAINTAINER="jozee@slitaz.org"
    1.10 +SHORT_DESC="An open source multimedia framework"
    1.11 +WEB_SITE="http://www.mltframework.org"
    1.12 +DEPENDS="libsdl-image libsamplerate libdv qt sox libxml2 gtk+ ffmpeg-svn frei0r-plugins"
    1.13 +BUILD_DEPENDS="libsamplerate-dev  libdv-dev  sox-dev Qt4-dev libxml2-dev  gtk+-dev  ffmpeg-svn-dev libsdl-image-dev frei0r-plugins-dev"
    1.14 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.15 +WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
    1.16 +TAGS="multimedia"
    1.17 +
    1.18 +# Rules to configure and make the package.
    1.19 +
    1.20 +compile_rules() {
    1.21 +  cd $src
    1.22 +  ./configure --prefix=/usr \
    1.23 +			  --enable-gpl \
    1.24 +			  --disable-mmx \
    1.25 +			  --qimage-libdir=/usr/lib/ \
    1.26 +			  --qimage-includedir=/usr/include/Qt \
    1.27 +			  --avformat-swscale &&
    1.28 +  make &&
    1.29 +  make DESTDIR=$PWD/_pkg install 
    1.30 +}
    1.31 +	
    1.32 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.33 +genpkg_rules()
    1.34 +{
    1.35 +	mkdir -p $fs/usr/lib/$PACKAGE $fs/usr/share
    1.36 +	cp -a $_pkg/usr/bin $fs/usr
    1.37 +	cp -a $_pkg/usr/lib/*so* $fs/usr/lib/
    1.38 +	cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
    1.39 +	cp -a $_pkg/usr/lib/$PACKAGE/*so* $fs/usr/lib/$PACKAGE
    1.40 +	
    1.41 +}