Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame^] | 1 | DESCRIPTION = "The Openobex project is an open source implementation of the \ |
| 2 | Object Exchange (OBEX) protocol." |
| 3 | HOMEPAGE = "http://openobex.triq.net" |
| 4 | SECTION = "libs" |
| 5 | DEPENDS = "virtual/libusb0" |
| 6 | DEPENDS += "${@bb.utils.contains('DISTRO_FEATURES','bluez5','bluez5','bluez4',d)}" |
| 7 | |
| 8 | LICENSE = "GPLv2 & LGPLv2.1" |
| 9 | LIC_FILES_CHKSUM = "file://COPYING;md5=eb723b61539feef013de476e68b5c50a \ |
| 10 | file://COPYING.LIB;md5=a6f89e2100d9b6cdffcea4f398e37343 \ |
| 11 | " |
| 12 | |
| 13 | SRC_URI = "http://www.kernel.org/pub/linux/bluetooth/openobex-${PV}.tar.gz \ |
| 14 | file://disable-cable-test.patch \ |
| 15 | file://libusb_crosscompile_check.patch \ |
| 16 | file://separate_builddir.patch" |
| 17 | |
| 18 | SRC_URI[md5sum] = "0d83dc86445a46a1b9750107ba7ab65c" |
| 19 | SRC_URI[sha256sum] = "e602047570799a47ecb028420bda8f2cef41310e5a99d084de10aa9422935e65" |
| 20 | |
| 21 | inherit autotools binconfig pkgconfig |
| 22 | |
| 23 | EXTRA_OECONF = "--enable-apps --enable-syslog" |
| 24 | |
| 25 | do_install_append() { |
| 26 | install -d ${D}${datadir}/aclocal |
| 27 | install -m 0644 ${S}/openobex.m4 ${D}${datadir}/aclocal |
| 28 | } |
| 29 | |
| 30 | PACKAGES += "openobex-apps" |
| 31 | FILES_${PN} = "${libdir}/lib*.so.*" |
| 32 | FILES_${PN}-dev += "${bindir}/openobex-config" |
| 33 | FILES_${PN}-apps = "${bindir}/*" |
| 34 | DEBIAN_NOAUTONAME_${PN}-apps = "1" |
| 35 | |