wok view mlt-python-bindings/receipt @ rev 24646

updated hostapd (2.9 -> 2.10)
author Hans-G?nter Theisgen
date Thu Mar 10 11:11:28 2022 +0100 (2022-03-10)
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 }