diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/packages/bluez/bluez-libs.inc | 21 | ||||
-rw-r--r-- | meta/packages/bluez/bluez-libs_3.17.bb | 1 |
2 files changed, 22 insertions, 0 deletions
diff --git a/meta/packages/bluez/bluez-libs.inc b/meta/packages/bluez/bluez-libs.inc new file mode 100644 index 000000000..2f3312071 --- /dev/null +++ b/meta/packages/bluez/bluez-libs.inc @@ -0,0 +1,21 @@ +DESCRIPTION = "Linux Bluetooth Stack Userland Libaries." +SECTION = "libs" +PRIORITY = "optional" +HOMEPAGE = "http://www.bluez.org" +LICENSE = "GPL" + +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 +} diff --git a/meta/packages/bluez/bluez-libs_3.17.bb b/meta/packages/bluez/bluez-libs_3.17.bb new file mode 100644 index 000000000..6ddf62a4f --- /dev/null +++ b/meta/packages/bluez/bluez-libs_3.17.bb @@ -0,0 +1 @@ +require bluez-libs.inc |