wok-current annotate mlt-python-bindings/receipt @ rev 11194

Up: leocad to 0.75.2.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Nov 03 03:12:43 2011 +0000 (2011-11-03)
parents b13084a16f46
children 3032e1d97d20
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"
jozee@6826 8 SHORT_DESC="python bindings for MLT multimedia framework"
jozee@6826 9 WEB_SITE="http://www.mltframework.org"
jozee@6826 10 DEPENDS="python mlt"
slaxemulator@9082 11 BUILD_DEPENDS="swig"
jozee@6826 12 TARBALL="$SOURCE-$VERSION.tar.gz"
jozee@6826 13 WGET_URL="$SF_MIRROR/mlt/$TARBALL"
jozee@6826 14
jozee@6826 15 # Rules to configure and make the package.
jozee@6826 16 compile_rules()
jozee@6826 17 {
slaxemulator@9082 18 cd $src/src/swig/python
slaxemulator@9082 19 ./build
slaxemulator@9082 20 PYTHON_VERSION=$(python -c 'import sys; print sys.version[:3]')
slaxemulator@9082 21 mkdir -p $DESTDIR/usr/lib/python${PYTHON_VERSION}
slaxemulator@9082 22 cp -a $src/src/swig/python/mlt.py $DESTDIR/usr/lib/python${PYTHON_VERSION}
slaxemulator@9082 23 cp -a $src/src/swig/python/_mlt.so $DESTDIR/usr/lib/python${PYTHON_VERSION}
slaxemulator@9082 24 cp -a $src/src/swig/python/mlt_wrap.o $DESTDIR/usr/lib/python${PYTHON_VERSION}
jozee@6826 25
jozee@6826 26 }
jozee@6826 27
jozee@6826 28 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@6826 29 genpkg_rules()
jozee@6826 30 {
slaxemulator@9082 31 mkdir -p $fs/usr
slaxemulator@9082 32 cp -a $_pkg/usr/lib $fs/usr
jozee@6826 33 }