wok-current view mlt-python-bindings/receipt @ rev 17485
Add hylafax
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Dec 30 12:18:02 2014 +0100 (2014-12-30) |
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 }