wok-6.x annotate mlt/receipt @ rev 6847

Fir depends: Xorg proto packages doesn 't depends on Xorg
author Antoine Bodin <gokhlayeh@slitaz.org>
date Wed Oct 20 12:12:16 2010 +0200 (2010-10-20)
parents
children 99e8c056d76f
rev   line source
jozee@6826 1 # SliTaz package receipt.
jozee@6826 2
jozee@6826 3 PACKAGE="mlt"
jozee@6826 4 VERSION="0.5.0"
jozee@6826 5 CATEGORY="multimedia"
jozee@6826 6 MAINTAINER="jozee@slitaz.org"
jozee@6826 7 SHORT_DESC="An open source multimedia framework"
jozee@6826 8 WEB_SITE="http://www.mltframework.org"
jozee@6826 9 DEPENDS="libsdl-image libsamplerate libdv qt sox libxml2 gtk+ ffmpeg-svn frei0r-plugins"
jozee@6826 10 BUILD_DEPENDS="libsamplerate-dev libdv-dev sox-dev Qt4-dev libxml2-dev gtk+-dev ffmpeg-svn-dev libsdl-image-dev frei0r-plugins-dev"
jozee@6826 11 TARBALL="$PACKAGE-$VERSION.tar.gz"
jozee@6826 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
jozee@6826 13 TAGS="multimedia"
jozee@6826 14
jozee@6826 15 # Rules to configure and make the package.
jozee@6826 16
jozee@6826 17 compile_rules() {
jozee@6826 18 cd $src
jozee@6826 19 ./configure --prefix=/usr \
jozee@6826 20 --enable-gpl \
jozee@6826 21 --disable-mmx \
jozee@6826 22 --qimage-libdir=/usr/lib/ \
jozee@6826 23 --qimage-includedir=/usr/include/Qt \
jozee@6826 24 --avformat-swscale &&
jozee@6826 25 make &&
jozee@6826 26 make DESTDIR=$PWD/_pkg install
jozee@6826 27 }
jozee@6826 28
jozee@6826 29 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@6826 30 genpkg_rules()
jozee@6826 31 {
jozee@6826 32 mkdir -p $fs/usr/lib/$PACKAGE $fs/usr/share
jozee@6826 33 cp -a $_pkg/usr/bin $fs/usr
jozee@6826 34 cp -a $_pkg/usr/lib/*so* $fs/usr/lib/
jozee@6826 35 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
jozee@6826 36 cp -a $_pkg/usr/lib/$PACKAGE/*so* $fs/usr/lib/$PACKAGE
jozee@6826 37
jozee@6826 38 }