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

flac: fix stuff path
author Christophe Lincoln <pankso@slitaz.org>
date Sat May 14 22:46:14 2011 +0200 (2011-05-14)
parents 3a0086517fb7
children c88f3f554ef5
line source
1 # SliTaz package receipt.
3 PACKAGE="mlt-python-bindings"
4 VERSION="0.7.0"
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 }