wok-6.x view mlt-python-bindings/receipt @ rev 24495
updated dolibarr again (10.0.6 -> 14.0.5)
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 19 13:42:19 2022 +0100 (2022-02-19) |
parents | 49d3ef66eb82 |
children | e717a4953b0e |
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 current_version()
19 {
20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 cd $src/src/swig/python
28 ./build
29 PYTHON_VERSION=$(python -c 'import sys; print sys.version[:3]')
30 mkdir -p $DESTDIR/usr/lib/python${PYTHON_VERSION}
31 cp -a $src/src/swig/python/mlt.py \
32 $DESTDIR/usr/lib/python${PYTHON_VERSION}
33 cp -a $src/src/swig/python/_mlt.so \
34 $DESTDIR/usr/lib/python${PYTHON_VERSION}
35 cp -a $src/src/swig/python/mlt_wrap.o \
36 $DESTDIR/usr/lib/python${PYTHON_VERSION}
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr
44 cp -a $install/usr/lib $fs/usr
45 }