wok-6.x annotate mlt-python-bindings/receipt @ rev 21282
updated libraw1394 and libraw1394-dev (2.0.7 -> 2.1.2)
author | Hans-G?nter Theisgen |
---|---|
date | Sun Apr 14 17:12:58 2019 +0100 (2019-04-14) |
parents | 34178a787624 |
children | 49d3ef66eb82 |
rev | line source |
---|---|
jozee@6826 | 1 # SliTaz package receipt. |
jozee@6826 | 2 |
jozee@6826 | 3 PACKAGE="mlt-python-bindings" |
slaxemulator@10157 | 4 VERSION="0.7.2" |
jozee@6826 | 5 SOURCE="mlt" |
jozee@6826 | 6 CATEGORY="multimedia" |
jozee@6826 | 7 MAINTAINER="jozee@slitaz.org" |
pascal@15084 | 8 LICENSE="LGPL2.1" |
jozee@6826 | 9 SHORT_DESC="python bindings for MLT multimedia framework" |
pascal@20671 | 10 WEB_SITE="https://www.mltframework.org" |
jozee@6826 | 11 TARBALL="$SOURCE-$VERSION.tar.gz" |
jozee@6826 | 12 WGET_URL="$SF_MIRROR/mlt/$TARBALL" |
jozee@6826 | 13 |
pascal@15084 | 14 DEPENDS="python mlt" |
pascal@15139 | 15 BUILD_DEPENDS="swig python-dev mlt" |
pascal@15084 | 16 |
jozee@6826 | 17 # Rules to configure and make the package. |
jozee@6826 | 18 compile_rules() |
jozee@6826 | 19 { |
slaxemulator@9082 | 20 cd $src/src/swig/python |
slaxemulator@9082 | 21 ./build |
slaxemulator@9082 | 22 PYTHON_VERSION=$(python -c 'import sys; print sys.version[:3]') |
slaxemulator@9082 | 23 mkdir -p $DESTDIR/usr/lib/python${PYTHON_VERSION} |
slaxemulator@9082 | 24 cp -a $src/src/swig/python/mlt.py $DESTDIR/usr/lib/python${PYTHON_VERSION} |
slaxemulator@9082 | 25 cp -a $src/src/swig/python/_mlt.so $DESTDIR/usr/lib/python${PYTHON_VERSION} |
slaxemulator@9082 | 26 cp -a $src/src/swig/python/mlt_wrap.o $DESTDIR/usr/lib/python${PYTHON_VERSION} |
jozee@6826 | 27 |
jozee@6826 | 28 } |
jozee@6826 | 29 |
jozee@6826 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@6826 | 31 genpkg_rules() |
jozee@6826 | 32 { |
slaxemulator@9082 | 33 mkdir -p $fs/usr |
pascal@15084 | 34 cp -a $install/usr/lib $fs/usr |
jozee@6826 | 35 } |