wok-next view mlt-python-bindings/receipt @ rev 9222

Up rt-source (2.6.33.7.2-rt30)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 11 17:41:03 2011 +0100 (2011-03-11)
parents b1f6133e850f
children b13084a16f46
line source
1 # SliTaz package receipt.
3 PACKAGE="mlt-python-bindings"
4 VERSION="0.6.2"
5 SOURCE="mlt"
6 CATEGORY="multimedia"
7 MAINTAINER="jozee@slitaz.org"
8 SHORT_DESC="python bindings for MLT multimedia framework"
9 WEB_SITE="http://www.mltframework.org"
10 DEPENDS="python mlt"
11 BUILD_DEPENDS="swig"
12 TARBALL="$SOURCE-$VERSION.tar.gz"
13 WGET_URL="$SF_MIRROR/mlt/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src/src/swig/python
19 ./build
20 PYTHON_VERSION=$(python -c 'import sys; print sys.version[:3]')
21 mkdir -p $DESTDIR/usr/lib/python${PYTHON_VERSION}
22 cp -a $src/src/swig/python/mlt.py $DESTDIR/usr/lib/python${PYTHON_VERSION}
23 cp -a $src/src/swig/python/_mlt.so $DESTDIR/usr/lib/python${PYTHON_VERSION}
24 cp -a $src/src/swig/python/mlt_wrap.o $DESTDIR/usr/lib/python${PYTHON_VERSION}
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
32 cp -a $_pkg/usr/lib $fs/usr
33 }