Merge branch 'org.openembedded.dev' of git@git.openembedded.net:openembedded into...
[openembedded.git] / recipes / bluez / bluez-libs.inc
1 DESCRIPTION = "Linux Bluetooth Stack Userland Libaries."
2 SECTION = "libs"
3 PRIORITY = "optional"
4 HOMEPAGE = "http://www.bluez.org"
5 LICENSE = "GPL"
6 PR = "r0"
7
8 SRC_URI = "http://bluez.sourceforge.net/download/bluez-libs-${PV}.tar.gz"
9
10 inherit autotools pkgconfig
11
12 HEADERS = "bluetooth.h bnep.h cmtp.h hci.h hci_lib.h hidp.h l2cap.h rfcomm.h sco.h sdp.h sdp_lib.h"
13
14 do_stage() {
15         oe_libinstall -a -so -C src libbluetooth ${STAGING_LIBDIR}
16
17         install -d ${STAGING_INCDIR}/bluetooth/
18         for f in ${HEADERS}
19         do
20                 install -m 0644 include/$f ${STAGING_INCDIR}/bluetooth/$f
21         done
22 }