wok-current view mlt-python-bindings/receipt @ rev 22559
updated bogofilter (1.2.4 -> 1.2.5)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Jan 04 16:49:42 2020 +0100 (2020-01-04) |
parents | 6e8b1bcb30e2 |
children | 5ea0ce1cecc0 |
line source
1 # SliTaz package receipt.
3 PACKAGE="mlt-python-bindings"
4 VERSION="6.14.0"
5 CATEGORY="multimedia"
6 MAINTAINER="jozee@slitaz.org"
7 SHORT_DESC="python bindings for MLT multimedia framework"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://www.mltframework.org/"
11 SOURCE="mlt"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="https://github.com/mltframework/$SOURCE/archive/v$VERSIONtar.gz"
15 DEPENDS="python mlt"
16 BUILD_DEPENDS="swig python-dev mlt"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src/src/swig/python
22 ./build
23 PYTHON_VERSION=$(python -c 'import sys; print sys.version[:3]')
24 mkdir -p $DESTDIR/usr/lib/python${PYTHON_VERSION}
25 cp -a $src/src/swig/python/mlt.py \
26 $DESTDIR/usr/lib/python${PYTHON_VERSION}
27 cp -a $src/src/swig/python/_mlt.so \
28 $DESTDIR/usr/lib/python${PYTHON_VERSION}
29 cp -a $src/src/swig/python/mlt_wrap.o \
30 $DESTDIR/usr/lib/python${PYTHON_VERSION}
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr
38 cp -a $install/usr/lib $fs/usr
39 }