wok-4.x view mlt/receipt @ rev 10410

patch: Added cook_tmp_toolchain function to fix tazwok cook-toolchain.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue May 24 07:02:00 2011 +0000 (2011-05-24)
parents b13084a16f46
children
line source
1 # SliTaz package receipt.
3 PACKAGE="mlt"
4 VERSION="0.7.2"
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 frei0r-plugins"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 TAGS="multimedia"
14 # Rules to configure and make the package.
16 compile_rules() {
17 cd $src
18 ./configure --prefix=/usr \
19 --enable-gpl \
20 --disable-mmx \
21 --qimage-libdir=/usr/lib/ \
22 --qimage-includedir=/usr/include/Qt \
23 --avformat-swscale &&
24 make &&
25 make install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib/$PACKAGE $fs/usr/share
32 cp -a $_pkg/usr/bin $fs/usr
33 cp -a $_pkg/usr/lib/*so* $fs/usr/lib/
34 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
35 cp -a $_pkg/usr/lib/$PACKAGE/*so* $fs/usr/lib/$PACKAGE
37 }