wok-current view mlt-python-bindings/receipt @ rev 10808

xorg-server*: up to 1.9.5 for bug fixes and --enable-kdrive so you build Xfbdev
author Christophe Lincoln <pankso@slitaz.org>
date Sun Jun 05 01:00:43 2011 +0200 (2011-06-05)
parents b13084a16f46
children 3032e1d97d20
line source
1 # SliTaz package receipt.
3 PACKAGE="mlt-python-bindings"
4 VERSION="0.7.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 }