xref: /OK3568_Linux_fs/buildroot/package/openobex/openobex.mk (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1################################################################################
2#
3# openobex
4#
5################################################################################
6
7OPENOBEX_VERSION = 1.7.2
8OPENOBEX_SITE = http://downloads.sourceforge.net/project/openobex/openobex/$(OPENOBEX_VERSION)
9OPENOBEX_SOURCE = openobex-$(OPENOBEX_VERSION)-Source.tar.gz
10# Libraries seems to be released under LGPL-2.1+,
11# while other material is under GPL-2.0+.
12OPENOBEX_LICENSE = GPL-2.0+/LGPL-2.1+
13OPENOBEX_LICENSE_FILES = COPYING COPYING.LIB
14OPENOBEX_DEPENDENCIES = host-pkgconf
15OPENOBEX_INSTALL_STAGING = YES
16OPENOBEX_CONF_OPTS = -DBUILD_DOCUMENTATION=OFF
17
18ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS),y)
19OPENOBEX_DEPENDENCIES += bluez5_utils
20endif
21
22ifeq ($(BR2_PACKAGE_LIBUSB),y)
23OPENOBEX_DEPENDENCIES += libusb
24endif
25
26ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
27OPENOBEX_DEPENDENCIES += udev
28endif
29
30$(eval $(cmake-package))
31