Home
Reading
Searching
Subscribe
Sponsors
Statistics
Posting
Contact
Spam
Lists
Links
About
Hosting
Filtering
Features Download
Marketing
Archives
FAQ
Blog
 
Gmane
From: Chih-Min Chao <cmchao-Re5JQEeQqe8AvxtiuMwx3w <at> public.gmane.org>
Subject: [PATCH 4/5] bluez : new package
Newsgroups: gmane.comp.lib.uclibc.buildroot
Date: Monday 13th September 2010 15:12:14 UTC (over 6 years ago)
Signed-off-by: Chih-Min Chao

---
 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
@@ -353,6 +353,7 @@ 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
@@ -0,0 +1,11 @@
+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
@@ -0,0 +1,16 @@
+#############################################################
+#
+# 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
 
CD: 3ms