wok annotate mlt/receipt @ rev 12670

Up: tazpanel (1.5.4)
author Dominique Corbex <domcox@slitaz.org>
date Tue May 01 13:04:04 2012 +0200 (2012-05-01)
parents b13084a16f46
children bb009a6ef036
rev   line source
jozee@6826 1 # SliTaz package receipt.
jozee@6826 2
jozee@6826 3 PACKAGE="mlt"
slaxemulator@10156 4 VERSION="0.7.2"
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"
slaxemulator@9081 9 DEPENDS="libsdl-image libsamplerate libdv qt4 sox libxml2 gtk+ ffmpeg frei0r-plugins"
jozee@6826 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
jozee@6826 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
jozee@6826 12 TAGS="multimedia"
jozee@6826 13
jozee@6826 14 # Rules to configure and make the package.
jozee@6826 15
jozee@6826 16 compile_rules() {
jozee@6826 17 cd $src
jozee@6826 18 ./configure --prefix=/usr \
jozee@6826 19 --enable-gpl \
jozee@6826 20 --disable-mmx \
jozee@6826 21 --qimage-libdir=/usr/lib/ \
jozee@6826 22 --qimage-includedir=/usr/include/Qt \
jozee@6826 23 --avformat-swscale &&
jozee@6826 24 make &&
slaxemulator@9081 25 make install
jozee@6826 26 }
jozee@6826 27
jozee@6826 28 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@6826 29 genpkg_rules()
jozee@6826 30 {
jozee@6826 31 mkdir -p $fs/usr/lib/$PACKAGE $fs/usr/share
jozee@6826 32 cp -a $_pkg/usr/bin $fs/usr
jozee@6826 33 cp -a $_pkg/usr/lib/*so* $fs/usr/lib/
jozee@6826 34 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
jozee@6826 35 cp -a $_pkg/usr/lib/$PACKAGE/*so* $fs/usr/lib/$PACKAGE
jozee@6826 36
jozee@6826 37 }