wok-current view mlt-python-bindings/receipt @ rev 15187
slitaz-base-files: up 5.4.2
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Aug 24 15:12:52 2013 +0300 (2013-08-24) |
parents | 3032e1d97d20 |
children | 6e8b1bcb30e2 |
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 LICENSE="LGPL2.1"
9 SHORT_DESC="python bindings for MLT multimedia framework"
10 WEB_SITE="http://www.mltframework.org"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/mlt/$TARBALL"
14 DEPENDS="python mlt"
15 BUILD_DEPENDS="swig python-dev mlt"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src/src/swig/python
21 ./build
22 PYTHON_VERSION=$(python -c 'import sys; print sys.version[:3]')
23 mkdir -p $DESTDIR/usr/lib/python${PYTHON_VERSION}
24 cp -a $src/src/swig/python/mlt.py $DESTDIR/usr/lib/python${PYTHON_VERSION}
25 cp -a $src/src/swig/python/_mlt.so $DESTDIR/usr/lib/python${PYTHON_VERSION}
26 cp -a $src/src/swig/python/mlt_wrap.o $DESTDIR/usr/lib/python${PYTHON_VERSION}
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $install/usr/lib $fs/usr
35 }