wok-6.x view mlt-python-bindings/receipt @ rev 9595
Add gens-gs back in. It was fixed.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Tue Apr 12 16:24:21 2011 +0000 (2011-04-12) |
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 }