wok annotate mlt-python-bindings/receipt @ rev 20058
Up slitaz-base-files (331), slitaz-boot-scripts (443).
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Sep 12 02:02:47 2017 +0300 (2017-09-12) |
parents | 3032e1d97d20 |
children | 6e8b1bcb30e2 |
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 } |