summaryrefslogtreecommitdiff
path: root/bluez-libs/bluez-libs_2.4.oe
blob: 16bb0c9cf66cfb7a64a96379be6ede3fe57f553d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
SECTION = "libs"
PRIORITY = "optional"
SECTION = "libs"
DEPENDS = "virtual/libc"
PROVIDES = "virtual/libbluetooth"
DESCRIPTION = "Linux Bluetooth Stack Libaries."

SRC_URI = "http://bluez.sourceforge.net/download/bluez-libs-${PV}.tar.gz"

inherit autotools 

do_stage () {
	oe_libinstall -a -so -C src libbluetooth ${STAGING_LIBDIR}

	install -d ${STAGING_INCDIR}/bluetooth
	for X in bluetooth.h hci.h hci_lib.h hci_uart.h hci_vhci.h l2cap.h \
	  sco.h rfcomm.h
	do
		install -m 0644 include/${X} ${STAGING_INCDIR}/bluetooth/${X}
	done
}