wok-6.x annotate mlt-python-bindings/receipt @ rev 23494
updated python-httplib2 (0.8 -> 0.17.1)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Apr 06 06:45:46 2020 +0100 (2020-04-06) |
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 } |