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 libtool do_stage () { install -m 0644 src/.libs/libbluetooth.a ${STAGING_LIBDIR}/ install -m 0644 src/.libs/libbluetooth.lai ${STAGING_LIBDIR}/libbluetooth.la oe_soinstall src/.libs/libbluetooth.so.1.0.2 ${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 }