5 DEPENDS = "virtual/libc"
6 PROVIDES = "virtual/libbluetooth"
8 SRC_URI = "http://bluez.sourceforge.net/download/${PN}-${PV}.tar.gz"
10 inherit autotools libtool
13 install -m 0644 src/.libs/libbluetooth.a ${STAGING_LIBDIR}/
14 install -m 0755 src/.libs/libbluetooth.so.1.0.2 ${STAGING_LIBDIR}/
16 ln -sf ${STAGING_LIBDIR}/libbluetooth.so.1.0.2 ${STAGING_LIBDIR}/libbluetooth.so.1
17 ln -sf ${STAGING_LIBDIR}/libbluetooth.so.1.0.2 ${STAGING_LIBDIR}/libbluetooth.so
19 install -d ${STAGING_DIR}/target/include/bluetooth
20 for X in bluetooth.h hci.h hci_lib.h hci_uart.h hci_vhci.h l2cap.h \
23 install -m 0644 include/${X} ${STAGING_DIR}/target/include/bluetooth/${X}
25 install -m 0644 src/.libs/libbluetooth.lai ${STAGING_LIBDIR}/libbluetooth.la