wok view mlt/receipt @ rev 12088

busybox: su should not chdir (again)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 10 09:31:50 2012 +0100 (2012-03-10)
parents b13084a16f46
children bb009a6ef036
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 }