wok view mlt-python-bindings/receipt @ rev 20988
updated goocanvas and goocanvas-dev (1.0.0 -> 2.0.4)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Mar 07 15:09:13 2019 +0100 (2019-03-07) |
parents | 34178a787624 |
children | 49d3ef66eb82 |
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="https://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 }