wok-stable view mlt/receipt @ rev 7163
linmodem-hsfmodem: do not assume build host kernel is up to date
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Nov 07 16:40:05 2010 +0100 (2010-11-07) |
parents | cb643af8b54d |
children | b97a6a2e419a |
line source
1 # SliTaz package receipt.
3 PACKAGE="mlt"
4 VERSION="0.5.10"
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 }