diff options
Diffstat (limited to 'meta/packages/bluez')
-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 0000000000..2f33120718 --- /dev/null +++ b/meta/packages/bluez/bluez-libs.inc | |||
@@ -0,0 +1,21 @@ | |||
1 | DESCRIPTION = "Linux Bluetooth Stack Userland Libaries." | ||
2 | SECTION = "libs" | ||
3 | PRIORITY = "optional" | ||
4 | HOMEPAGE = "http://www.bluez.org" | ||
5 | LICENSE = "GPL" | ||
6 | |||
7 | SRC_URI = "http://bluez.sourceforge.net/download/bluez-libs-${PV}.tar.gz" | ||
8 | |||
9 | inherit autotools pkgconfig | ||
10 | |||
11 | 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" | ||
12 | |||
13 | do_stage() { | ||
14 | oe_libinstall -a -so -C src libbluetooth ${STAGING_LIBDIR} | ||
15 | |||
16 | install -d ${STAGING_INCDIR}/bluetooth/ | ||
17 | for f in ${HEADERS} | ||
18 | do | ||
19 | install -m 0644 include/$f ${STAGING_INCDIR}/bluetooth/$f | ||
20 | done | ||
21 | } | ||
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 0000000000..6ddf62a4fb --- /dev/null +++ b/meta/packages/bluez/bluez-libs_3.17.bb | |||
@@ -0,0 +1 @@ | |||
require bluez-libs.inc | |||