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