summaryrefslogtreecommitdiff
path: root/packages/bluez/bluez-libs_2.21.bb
diff options
context:
space:
mode:
Diffstat (limited to 'packages/bluez/bluez-libs_2.21.bb')
-rw-r--r--packages/bluez/bluez-libs_2.21.bb10
1 files changed, 8 insertions, 2 deletions
diff --git a/packages/bluez/bluez-libs_2.21.bb b/packages/bluez/bluez-libs_2.21.bb
index e5ef923d03..997c2ae7d1 100644
--- a/packages/bluez/bluez-libs_2.21.bb
+++ b/packages/bluez/bluez-libs_2.21.bb
@@ -3,7 +3,7 @@ SECTION = "libs"
PRIORITY = "optional"
HOMEPAGE = "http://www.bluez.org"
LICENSE = "GPL"
-PR = "r1"
+PR = "r2"
SRC_URI = "http://bluez.sourceforge.net/download/bluez-libs-${PV}.tar.gz"
@@ -12,5 +12,11 @@ inherit autotools pkgconfig
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"
do_stage() {
- autotools_stage_all
+ oe_libinstall -a -so -C src libbluetooth ${STAGING_LIBDIR}
+
+ install -d ${STAGING_INCDIR}/bluetooth/
+ for f in ${HEADERS}
+ do
+ install -m 0644 include/$f ${STAGING_INCDIR}/bluetooth/$f
+ done
}