wok view mlt/receipt @ rev 8200

imported patch toolchain/mpc-library.patch
author Antoine Bodin <gokhlayeh@slitaz.org>
date Thu Jan 27 00:20:50 2011 +0100 (2011-01-27)
parents 99e8c056d76f
children 8ea363e14173
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 qt 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 }