summaryrefslogtreecommitdiff
path: root/bluez-sdp/bluez-sdp_1.5.oe
blob: b51343d1bcb4d5e835dd09c65a4c56c65d9cb66d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
SECTION = "libs"
PRIORITY = "optional"
SECTION = "libs"
DEPENDS = "virtual/libbluetooth"
PROVIDES = "virtual/libsdp"
DESCRIPTION = "BlueZ Bluetooth SDP daemon and tool."

SRC_URI = "http://bluez.sourceforge.net/download/bluez-sdp-${PV}.tar.gz"

EXTRA_OECONF:="--with-bluez-libs=${STAGING_LIBDIR} --with-bluez-includes=${STAGING_INCDIR}"
LDFLAGS_prepend = "-L${S}/libs "

inherit autotools 

do_stage () {
	oe_libinstall -a -so -C libs libsdp ${STAGING_LIBDIR}

	for X in sdp.h sdp_lib.h
	do
		install -m 0644 include/$X ${STAGING_INCDIR}/bluetooth/$X
	done

}