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