wok rev 9082
Up: mlt-python-bindings to 0.6.2.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri Mar 04 11:00:36 2011 +0000 (2011-03-04) |
parents | 545a43737e35 |
children | 25ffa17d5c17 |
files | mlt-python-bindings/receipt |
line diff
1.1 --- a/mlt-python-bindings/receipt Fri Mar 04 10:59:47 2011 +0000 1.2 +++ b/mlt-python-bindings/receipt Fri Mar 04 11:00:36 2011 +0000 1.3 @@ -1,31 +1,33 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="mlt-python-bindings" 1.7 -VERSION="0.6.0" 1.8 +VERSION="0.6.2" 1.9 SOURCE="mlt" 1.10 CATEGORY="multimedia" 1.11 MAINTAINER="jozee@slitaz.org" 1.12 SHORT_DESC="python bindings for MLT multimedia framework" 1.13 WEB_SITE="http://www.mltframework.org" 1.14 DEPENDS="python mlt" 1.15 -BUILD_DEPENDS="swig python mlt mlt-dev" 1.16 +BUILD_DEPENDS="swig" 1.17 TARBALL="$SOURCE-$VERSION.tar.gz" 1.18 WGET_URL="$SF_MIRROR/mlt/$TARBALL" 1.19 1.20 # Rules to configure and make the package. 1.21 compile_rules() 1.22 { 1.23 - cd $src/src/swig/python 1.24 - ./build 1.25 + cd $src/src/swig/python 1.26 + ./build 1.27 + PYTHON_VERSION=$(python -c 'import sys; print sys.version[:3]') 1.28 + mkdir -p $DESTDIR/usr/lib/python${PYTHON_VERSION} 1.29 + cp -a $src/src/swig/python/mlt.py $DESTDIR/usr/lib/python${PYTHON_VERSION} 1.30 + cp -a $src/src/swig/python/_mlt.so $DESTDIR/usr/lib/python${PYTHON_VERSION} 1.31 + cp -a $src/src/swig/python/mlt_wrap.o $DESTDIR/usr/lib/python${PYTHON_VERSION} 1.32 1.33 } 1.34 1.35 # Rules to gen a SliTaz package suitable for Tazpkg. 1.36 genpkg_rules() 1.37 { 1.38 - mkdir -p $fs/usr/lib/python2.7/ 1.39 - cp -a $src/src/swig/python/mlt.py $fs/usr/lib/python2.7/ 1.40 - cp -a $src/src/swig/python/_mlt.so $fs/usr/lib/python2.7/ 1.41 - cp -a $src/src/swig/python/mlt_wrap.o $fs/usr/lib/python2.7/ 1.42 - 1.43 + mkdir -p $fs/usr 1.44 + cp -a $_pkg/usr/lib $fs/usr 1.45 }