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

gcc83-lib-base: do NOT provide gcc-lib-base
Currently BOTH gcc-lib-base and gcc83-lib-base are installed on my SliTaz system. So, with the current (and longstanding) tazpkg limitations I can't update just gcc-lib-base: tazpkg always updates gcc83-lib-base for me instead. Now I can't run Firefox, Vivaldi, Chrome, etc. I think because of gcc-lib-base, but I not sure 1bsolutely.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 22 12:55:54 2019 +0300 (2019-10-22)
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 }