1DESCRIPTION = "The Openobex project is an open source implementation of the \
2Object Exchange (OBEX) protocol."
3HOMEPAGE = "http://openobex.triq.net"
4SECTION = "libs"
5LICENSE = "GPL-2.0-only & LGPL-2.1-only"
6LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a \
7                    file://COPYING.LIB;md5=a6f89e2100d9b6cdffcea4f398e37343 \
8"
9
10DEPENDS = "virtual/libusb0"
11DEPENDS:append:class-target = " bluez5"
12
13SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}/${PV}/${BP}-Source.tar.gz \
14"
15SRC_URI[md5sum] = "f6e0b6cb7dcfd731460a7e9a91429a3a"
16SRC_URI[sha256sum] = "158860aaea52f0fce0c8e4b64550daaae06df2689e05834697b7e8c7d73dd4fc"
17
18S = "${WORKDIR}/${BP}-Source"
19
20inherit cmake pkgconfig
21
22EXTRA_OECONF = " -DCMAKE_SKIP_RPATH=ON "
23EXTRA_OECMAKE += "-DBUILD_DOCUMENTATION=OFF"
24
25ASNEEDED = ""
26
27do_install:append () {
28    rmdir ${D}${bindir}
29}
30
31PACKAGES =+ "openobex-apps"
32FILES:${PN}-apps = "${bindir}/*"
33FILES:${PN} += "${libdir}/lib*.so.*"
34FILES:${PN}-dev += "${bindir}/openobex-config"
35DEBIAN_NOAUTONAME:${PN}-apps = "1"
36
37BBCLASSEXTEND = "native"
38