Chih-Min Chao | 13 Sep 17:12 2010
Picon

[PATCH 4/5] bluez : new package


Signed-off-by: Chih-Min Chao <cmchao@...>
---
 package/Config.in       |    1 +
 package/bluez/Config.in |   11 +++++++++++
 package/bluez/bluez.mk  |   16 ++++++++++++++++
 3 files changed, 28 insertions(+), 0 deletions(-)
 create mode 100644 package/bluez/Config.in
 create mode 100644 package/bluez/bluez.mk

diff --git a/package/Config.in b/package/Config.in
index 2209b55..e8922c9 100644
--- a/package/Config.in
+++ b/package/Config.in
 <at>  <at>  -353,6 +353,7  <at>  <at>  if BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
 source "package/boa/Config.in"
 endif
 source "package/bind/Config.in"
+source "package/bluez/Config.in"
 source "package/bmon/Config.in"
 source "package/bridge-utils/Config.in"
 source "package/ctorrent/Config.in"
diff --git a/package/bluez/Config.in b/package/bluez/Config.in
new file mode 100644
index 0000000..d80933e
--- /dev/null
+++ b/package/bluez/Config.in
 <at>  <at>  -0,0 +1,11  <at>  <at> 
+config BR2_PACKAGE_BLUEZ
+	bool "bluez"
+	depends on BR2_PACKAGE_DBUS_GLIB
+	help
+	  BlueZ provides support for the core Bluetooth layers and protocols.
+	  It is flexible, efficient and uses a modular implementation.
+
+	  http://www.bluez.org/
+
+comment "bluez requires dbus-glib2 package
+	depends on !BR2_PACKAGE_DBUS_GLIB
diff --git a/package/bluez/bluez.mk b/package/bluez/bluez.mk
new file mode 100644
index 0000000..39339c5
--- /dev/null
+++ b/package/bluez/bluez.mk
 <at>  <at>  -0,0 +1,16  <at>  <at> 
+#############################################################
+#
+# Bluez
+#
+#############################################################
+BLUEZ_VERSION:=4.71
+BLUEZ_SOURCE:=bluez-$(BLUEZ_VERSION).tar.gz
+BLUEZ_SITE:=http://www.kernel.org/pub/linux/bluetooth
+BLUEZ_LIBTOOL_PATCH:=NO
+BLUEZ_INSTALL_STAGING:=NO
+BLUEZ_INSTALL_TARGET:=YES
+BLUEZ_DEPENDENCIES:= dbus-glib
+
+BLUEZ_CONF_OPT:= --enable-tools --disable-static --enable-shared
+
+$(eval $(call AUTOTARGETS,package,bluez))
--

-- 
1.7.0.4

Gmane