blob: 041fc768f22ca45ce572953b58184799554a8431 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
SECTION = "libs"
PRIORITY = "optional"
RDEPENDS = "libc6"
SECTION = "libs"
DEPENDS = "virtual/libc"
PROVIDES = "virtual/libbluetooth"
DESCRIPTION = "Linux Bluetooth Stack Libaries."
SRC_URI = "http://bluez.sourceforge.net/download/${PN}-${PV}.tar.gz"
inherit autotools libtool
do_stage () {
install -m 0644 src/.libs/libbluetooth.a ${STAGING_LIBDIR}/
install -m 0755 src/.libs/libbluetooth.so.1.0.2 ${STAGING_LIBDIR}/
ln -sf ${STAGING_LIBDIR}/libbluetooth.so.1.0.2 ${STAGING_LIBDIR}/libbluetooth.so.1
ln -sf ${STAGING_LIBDIR}/libbluetooth.so.1.0.2 ${STAGING_LIBDIR}/libbluetooth.so
install -d ${STAGING_DIR}/target/include/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_DIR}/target/include/bluetooth/${X}
done
install -m 0644 src/.libs/libbluetooth.lai ${STAGING_LIBDIR}/libbluetooth.la
}
|