wok-6.x view mlt/receipt @ rev 19953

urbackup-server: add post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon May 08 13:50:13 2017 +0200 (2017-05-08)
parents 775714eeb4c8
children 6e8b1bcb30e2
line source
1 # SliTaz package receipt.
3 PACKAGE="mlt"
4 VERSION="6.4.1"
5 CATEGORY="multimedia"
6 MAINTAINER="jozee@slitaz.org"
7 LICENSE="LGPL2.1"
8 SHORT_DESC="An open source multimedia framework"
9 WEB_SITE="http://www.mltframework.org"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="https://github.com/mltframework/mlt/archive/v$VERSION.tar.gz"
12 TAGS="multimedia"
14 DEPENDS="libsdl-image libsamplerate libdv qt4 sox libxml2 gtk+ ffmpeg \
15 frei0r-plugins"
16 BUILD_DEPENDS="libsdl-image-dev libsamplerate-dev libdv-dev Qt4-dev sox-dev \
17 libxml2-dev gtk+-dev ffmpeg-dev frei0r-plugins-dev mesa-dev alsa-lib-dev \
18 pulseaudio-dev"
20 # Rules to configure and make the package.
22 compile_rules()
23 {
24 ./configure --prefix=/usr \
25 --enable-gpl \
26 --disable-mmx \
27 --qimage-libdir=/usr/lib/ \
28 --qimage-includedir=/usr/include/Qt \
29 --avformat-swscale &&
30 make &&
31 make install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib/$PACKAGE $fs/usr/share
38 cp -a $install/usr/bin $fs/usr
39 cp -a $install/usr/lib/*so* $fs/usr/lib/
40 cp -a $install/usr/share/$PACKAGE $fs/usr/share
41 cp -a $install/usr/lib/$PACKAGE/*so* $fs/usr/lib/$PACKAGE
42 }