wok view mlt/receipt @ rev 8974

[q-z]*: use veriable
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Mar 02 11:06:20 2011 +0100 (2011-03-02)
parents b97a6a2e419a
children 545a43737e35
line source
1 # SliTaz package receipt.
3 PACKAGE="mlt"
4 VERSION="0.6.0"
5 CATEGORY="multimedia"
6 MAINTAINER="jozee@slitaz.org"
7 SHORT_DESC="An open source multimedia framework"
8 WEB_SITE="http://www.mltframework.org"
9 DEPENDS="libsdl-image libsamplerate libdv qt4 sox libxml2 gtk+ ffmpeg-svn frei0r-plugins"
10 BUILD_DEPENDS="libsamplerate-dev libdv-dev sox-dev Qt4-dev libxml2-dev gtk+-dev ffmpeg-svn-dev libsdl-image-dev frei0r-plugins-dev"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 TAGS="multimedia"
15 # Rules to configure and make the package.
17 compile_rules() {
18 cd $src
19 ./configure --prefix=/usr \
20 --enable-gpl \
21 --disable-mmx \
22 --qimage-libdir=/usr/lib/ \
23 --qimage-includedir=/usr/include/Qt \
24 --avformat-swscale &&
25 make &&
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib/$PACKAGE $fs/usr/share
33 cp -a $_pkg/usr/bin $fs/usr
34 cp -a $_pkg/usr/lib/*so* $fs/usr/lib/
35 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
36 cp -a $_pkg/usr/lib/$PACKAGE/*so* $fs/usr/lib/$PACKAGE
38 }