From 4a0fd2e3ae333ac08ea24a8f0a98e4940b1dadeb Mon Sep 17 00:00:00 2001 From: Stephan Raue Date: Mon, 15 Nov 2010 17:28:43 +0100 Subject: [PATCH] PyBluez: add meta file support Signed-off-by: Stephan Raue --- packages/python/system/PyBluez/build | 6 ------ packages/python/system/PyBluez/install | 4 ---- packages/python/system/PyBluez/meta | 14 ++++++++++++++ ...tuptools.diff => PyBluez-0.18-setuptools.patch} | 0 packages/python/system/PyBluez/url | 1 - 5 files changed, 14 insertions(+), 11 deletions(-) create mode 100644 packages/python/system/PyBluez/meta rename packages/python/system/PyBluez/patches/{PyBluez-setuptools.diff => PyBluez-0.18-setuptools.patch} (100%) delete mode 100644 packages/python/system/PyBluez/url diff --git a/packages/python/system/PyBluez/build b/packages/python/system/PyBluez/build index 878ba9a4cc..42f2c0e873 100755 --- a/packages/python/system/PyBluez/build +++ b/packages/python/system/PyBluez/build @@ -2,12 +2,6 @@ . config/options $1 -$SCRIPTS/build toolchain -$SCRIPTS/build Python -$SCRIPTS/build distutilscross -$SCRIPTS/build distribute -$SCRIPTS/build bluez - export PYTHONXCPREFIX="$SYSROOT_PREFIX/usr" export LDFLAGS="$LDFLAGS -L$SYSROOT_PREFIX/usr/lib -L$SYSROOT_PREFIX/lib" diff --git a/packages/python/system/PyBluez/install b/packages/python/system/PyBluez/install index eea8ed6655..73886a0890 100755 --- a/packages/python/system/PyBluez/install +++ b/packages/python/system/PyBluez/install @@ -2,8 +2,4 @@ . config/options $1 -$SCRIPTS/install Python -$SCRIPTS/install distribute -$SCRIPTS/install bluez - cp -PR $PKG_BUILD/.install/* $INSTALL diff --git a/packages/python/system/PyBluez/meta b/packages/python/system/PyBluez/meta new file mode 100644 index 0000000000..e7fe4a9d69 --- /dev/null +++ b/packages/python/system/PyBluez/meta @@ -0,0 +1,14 @@ +PKG_NAME="PyBluez" +PKG_VERSION="0.18" +PKG_REV="1" +PKG_ARCH="any" +PKG_LICENSE="GPL" +PKG_SITE="http://code.google.com/p/pybluez/" +PKG_URL="http://pybluez.googlecode.com/files/$PKG_NAME-$PKG_VERSION.tar.gz" +PKG_DEPENDS="Python distribute bluez" +PKG_BUILD_DEPENDS="toolchain Python distutilscross distribute bluez" +PKG_PRIORITY="optional" +PKG_SECTION="python/system" +PKG_SHORTDESC="PyBluez: an effort to create python wrappers around system Bluetooth resources" +PKG_LONGDESC="PyBluez is an effort to create python wrappers around system Bluetooth resources to allow Python developers to easily and quickly create Bluetooth applications." +PKG_IS_ADDON="no" diff --git a/packages/python/system/PyBluez/patches/PyBluez-setuptools.diff b/packages/python/system/PyBluez/patches/PyBluez-0.18-setuptools.patch similarity index 100% rename from packages/python/system/PyBluez/patches/PyBluez-setuptools.diff rename to packages/python/system/PyBluez/patches/PyBluez-0.18-setuptools.patch diff --git a/packages/python/system/PyBluez/url b/packages/python/system/PyBluez/url deleted file mode 100644 index e3bf882c8b..0000000000 --- a/packages/python/system/PyBluez/url +++ /dev/null @@ -1 +0,0 @@ -http://pybluez.googlecode.com/files/PyBluez-0.18.tar.gz \ No newline at end of file