bluez-libs: add 3.7
authorKoen Kooi <koen@openembedded.org>
Thu, 19 Oct 2006 11:37:41 +0000 (11:37 +0000)
committerKoen Kooi <koen@openembedded.org>
Thu, 19 Oct 2006 11:37:41 +0000 (11:37 +0000)
packages/bluez/bluez-libs_3.7.bb [new file with mode: 0644]

diff --git a/packages/bluez/bluez-libs_3.7.bb b/packages/bluez/bluez-libs_3.7.bb
new file mode 100644 (file)
index 0000000..d740bd8
--- /dev/null
@@ -0,0 +1,22 @@
+DESCRIPTION = "Linux Bluetooth Stack Userland Libaries."
+SECTION = "libs"
+PRIORITY = "optional"
+HOMEPAGE = "http://www.bluez.org"
+LICENSE = "GPL"
+PR = "r0"
+
+SRC_URI = "http://bluez.sourceforge.net/download/bluez-libs-${PV}.tar.gz"
+
+inherit autotools pkgconfig
+
+HEADERS = "bluetooth.h bnep.h cmtp.h hci.h hci_lib.h hidp.h l2cap.h rfcomm.h sco.h sdp.h sdp_lib.h"
+
+do_stage() {
+        oe_libinstall -a -so -C src libbluetooth ${STAGING_LIBDIR}
+
+        install -d ${STAGING_INCDIR}/bluetooth/
+        for f in ${HEADERS}
+        do
+               install -m 0644 include/$f ${STAGING_INCDIR}/bluetooth/$f
+        done
+}