wok-next annotate mlt-python-bindings/receipt @ rev 19537
Up firefox-official (50.0.2)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Dec 01 21:07:54 2016 +0200 (2016-12-01) |
parents | 3032e1d97d20 |
children | a3c581bf52b8 |
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" |
jozee@6826 | 10 WEB_SITE="http://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 } |