new package: add package 'PyBluez'

Signed-off-by: Stephan Raue <stephan@openelec.tv>
This commit is contained in:
Stephan Raue 2010-09-22 06:05:03 +02:00
parent 0c1135e9be
commit dbf6ce68ce
3 changed files with 27 additions and 0 deletions

View File

@ -0,0 +1,18 @@
#!/bin/sh
. config/options $1
$SCRIPTS/build toolchain
$SCRIPTS/build Python
$SCRIPTS/build bluez
. config/options.python
cd $PKG_BUILD
$PYTHON setup.py build
$PYTHON setup.py install -O1 --skip-build --prefix /usr --root .install
find .install -name "*.py" -exec rm -rf "{}" ";"
find .install -name "*.pyo" -exec rm -rf "{}" ";"

View File

@ -0,0 +1,8 @@
#!/bin/sh
. config/options $1
$SCRIPTS/install Python
$SCRIPTS/install bluez
cp -PR $PKG_BUILD/.install/* $INSTALL

View File

@ -0,0 +1 @@
http://pybluez.googlecode.com/files/PyBluez-0.18.tar.gz