wok annotate mlt/receipt @ rev 19200

gucharmap-dev: fix packaging too
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Jun 09 01:02:19 2016 +0300 (2016-06-09)
parents b2139a357c5d
children c8285a3d30a2
rev   line source
jozee@6826 1 # SliTaz package receipt.
jozee@6826 2
jozee@6826 3 PACKAGE="mlt"
slaxemulator@10156 4 VERSION="0.7.2"
jozee@6826 5 CATEGORY="multimedia"
jozee@6826 6 MAINTAINER="jozee@slitaz.org"
pascal@15583 7 LICENSE="LGPL2.1"
jozee@6826 8 SHORT_DESC="An open source multimedia framework"
jozee@6826 9 WEB_SITE="http://www.mltframework.org"
jozee@6826 10 TARBALL="$PACKAGE-$VERSION.tar.gz"
jozee@6826 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
jozee@6826 12 TAGS="multimedia"
jozee@6826 13
pascal@15583 14 DEPENDS="libsdl-image libsamplerate libdv qt4 sox libxml2 gtk+ ffmpeg frei0r-plugins"
pascal@15583 15
jozee@6826 16 # Rules to configure and make the package.
jozee@6826 17
jozee@6826 18 compile_rules() {
jozee@6826 19 cd $src
jozee@6826 20 ./configure --prefix=/usr \
jozee@6826 21 --enable-gpl \
jozee@6826 22 --disable-mmx \
jozee@6826 23 --qimage-libdir=/usr/lib/ \
jozee@6826 24 --qimage-includedir=/usr/include/Qt \
jozee@6826 25 --avformat-swscale &&
jozee@6826 26 make &&
slaxemulator@9081 27 make install
jozee@6826 28 }
jozee@6826 29
jozee@6826 30 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@6826 31 genpkg_rules()
jozee@6826 32 {
jozee@6826 33 mkdir -p $fs/usr/lib/$PACKAGE $fs/usr/share
pascal@15583 34 cp -a $install/usr/bin $fs/usr
pascal@15583 35 cp -a $install/usr/lib/*so* $fs/usr/lib/
pascal@15583 36 cp -a $install/usr/share/$PACKAGE $fs/usr/share
pascal@15583 37 cp -a $install/usr/lib/$PACKAGE/*so* $fs/usr/lib/$PACKAGE
jozee@6826 38 }