wok-next view mlt-python-bindings/receipt @ rev 18403

gegl: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Sep 19 09:22:09 2015 +0200 (2015-09-19)
parents 3032e1d97d20
children a3c581bf52b8
line source
1 # SliTaz package receipt.
3 PACKAGE="mlt-python-bindings"
4 VERSION="0.7.2"
5 SOURCE="mlt"
6 CATEGORY="multimedia"
7 MAINTAINER="jozee@slitaz.org"
8 LICENSE="LGPL2.1"
9 SHORT_DESC="python bindings for MLT multimedia framework"
10 WEB_SITE="http://www.mltframework.org"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/mlt/$TARBALL"
14 DEPENDS="python mlt"
15 BUILD_DEPENDS="swig python-dev mlt"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src/src/swig/python
21 ./build
22 PYTHON_VERSION=$(python -c 'import sys; print sys.version[:3]')
23 mkdir -p $DESTDIR/usr/lib/python${PYTHON_VERSION}
24 cp -a $src/src/swig/python/mlt.py $DESTDIR/usr/lib/python${PYTHON_VERSION}
25 cp -a $src/src/swig/python/_mlt.so $DESTDIR/usr/lib/python${PYTHON_VERSION}
26 cp -a $src/src/swig/python/mlt_wrap.o $DESTDIR/usr/lib/python${PYTHON_VERSION}
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $install/usr/lib $fs/usr
35 }