blob: 3fb8cb19013a33521e77c79fa5da3ad51db5da7b [file] [log] [blame]
Brad Bishop6e60e8b2018-02-01 10:27:11 -05001DESCRIPTION = "The Openobex project is an open source implementation of the \
2Object Exchange (OBEX) protocol."
3HOMEPAGE = "http://openobex.triq.net"
4SECTION = "libs"
Brad Bishop6e60e8b2018-02-01 10:27:11 -05005LICENSE = "GPLv2 & LGPLv2.1"
6LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a \
7 file://COPYING.LIB;md5=a6f89e2100d9b6cdffcea4f398e37343 \
8"
9
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080010DEPENDS = "virtual/libusb0"
11DEPENDS_append_class-target = " ${@bb.utils.contains('DISTRO_FEATURES','bluez5','bluez5','bluez4',d)}"
12
Brad Bishop6e60e8b2018-02-01 10:27:11 -050013SRC_URI = "${SOURCEFORGE_MIRROR}/${BPN}/${BPN}/${PV}/${BP}-Source.tar.gz \
14"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050015SRC_URI[md5sum] = "f6e0b6cb7dcfd731460a7e9a91429a3a"
16SRC_URI[sha256sum] = "158860aaea52f0fce0c8e4b64550daaae06df2689e05834697b7e8c7d73dd4fc"
17
Brad Bishop6e60e8b2018-02-01 10:27:11 -050018S = "${WORKDIR}/${BP}-Source"
19
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080020inherit cmake pkgconfig
21
Brad Bishop6e60e8b2018-02-01 10:27:11 -050022EXTRA_OECONF = " -DCMAKE_SKIP_RPATH=ON "
Brad Bishopd7bf8c12018-02-25 22:55:05 -050023EXTRA_OECMAKE += "-DBUILD_DOCUMENTATION=OFF"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050024
Brad Bishop316dfdd2018-06-25 12:45:53 -040025ASNEEDED = ""
26
Brad Bishop6e60e8b2018-02-01 10:27:11 -050027do_install_append () {
28 rmdir ${D}${bindir}
29}
30
31PACKAGES =+ "openobex-apps"
32FILES_${PN}-apps = "${bindir}/*"
33FILES_${PN} += "${libdir}/lib*.so.*"
Brad Bishop1a4b7ee2018-12-16 17:11:34 -080034FILES_${PN}-dev += "${bindir}/openobex-config"
Brad Bishop6e60e8b2018-02-01 10:27:11 -050035DEBIAN_NOAUTONAME_${PN}-apps = "1"
36
37BBCLASSEXTEND = "native"