wok view mlt-python-bindings/receipt @ rev 9078

python-nose: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 04 16:44:25 2011 +0100 (2011-03-04)
parents 99e8c056d76f
children 3a0086517fb7
line source
1 # SliTaz package receipt.
3 PACKAGE="mlt-python-bindings"
4 VERSION="0.6.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 python mlt mlt-dev"
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
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/lib/python2.7/
27 cp -a $src/src/swig/python/mlt.py $fs/usr/lib/python2.7/
28 cp -a $src/src/swig/python/_mlt.so $fs/usr/lib/python2.7/
29 cp -a $src/src/swig/python/mlt_wrap.o $fs/usr/lib/python2.7/
31 }