Merge openembedded@openembedded.bkbits.net:packages
[vuplus_openembedded] / bluez-libs / bluez-libs_2.4.oe
1 SECTION = "libs"
2 PRIORITY = "optional"
3 SECTION = "libs"
4 DEPENDS = "virtual/libc"
5 PROVIDES = "virtual/libbluetooth"
6 DESCRIPTION = "Linux Bluetooth Stack Libaries."
7
8 SRC_URI = "http://bluez.sourceforge.net/download/bluez-libs-${PV}.tar.gz"
9
10 inherit autotools libtool
11
12 do_stage () {
13         install -m 0644 src/.libs/libbluetooth.a ${STAGING_LIBDIR}/
14         install -m 0644 src/.libs/libbluetooth.lai ${STAGING_LIBDIR}/libbluetooth.la
15         oe_soinstall src/.libs/libbluetooth.so.1.0.2 ${STAGING_LIBDIR}/
16
17         install -d ${STAGING_INCDIR}/bluetooth
18         for X in bluetooth.h hci.h hci_lib.h hci_uart.h hci_vhci.h l2cap.h \
19           sco.h rfcomm.h
20         do
21                 install -m 0644 include/${X} ${STAGING_INCDIR}/bluetooth/${X}
22         done
23 }