2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-03-11 19:58:39 +01:00
|
|
|
#
|
|
|
|
# openobex
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-03-11 19:58:39 +01:00
|
|
|
|
2017-09-16 17:15:35 +02:00
|
|
|
OPENOBEX_VERSION = 1.7.2
|
|
|
|
OPENOBEX_SITE = http://downloads.sourceforge.net/project/openobex/openobex/$(OPENOBEX_VERSION)
|
|
|
|
OPENOBEX_SOURCE = openobex-$(OPENOBEX_VERSION)-Source.tar.gz
|
2017-04-17 11:27:13 +02:00
|
|
|
# Libraries seems to be released under LGPL-2.1+,
|
|
|
|
# while other material is under GPL-2.0+.
|
2017-03-30 15:43:34 +02:00
|
|
|
OPENOBEX_LICENSE = GPL-2.0+/LGPL-2.1+
|
2013-03-11 19:58:39 +01:00
|
|
|
OPENOBEX_LICENSE_FILES = COPYING COPYING.LIB
|
|
|
|
OPENOBEX_DEPENDENCIES = host-pkgconf
|
|
|
|
OPENOBEX_INSTALL_STAGING = YES
|
2017-09-26 19:20:40 +02:00
|
|
|
OPENOBEX_CONF_OPTS = -DBUILD_DOCUMENTATION=OFF
|
2013-03-11 19:58:39 +01:00
|
|
|
|
2017-09-16 17:15:35 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_BLUEZ_UTILS),y)
|
|
|
|
OPENOBEX_DEPENDENCIES += bluez_utils
|
|
|
|
endif
|
2016-01-31 10:48:58 +01:00
|
|
|
|
2017-09-16 17:15:35 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_BLUEZ5_UTILS),y)
|
|
|
|
OPENOBEX_DEPENDENCIES += bluez5_utils
|
|
|
|
endif
|
2013-03-11 19:58:39 +01:00
|
|
|
|
2017-09-16 17:15:35 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_LIBUSB),y)
|
|
|
|
OPENOBEX_DEPENDENCIES += libusb
|
2013-03-11 19:58:39 +01:00
|
|
|
endif
|
|
|
|
|
2017-09-16 17:15:35 +02:00
|
|
|
ifeq ($(BR2_PACKAGE_HAS_UDEV),y)
|
|
|
|
OPENOBEX_DEPENDENCIES += udev
|
2013-03-11 19:58:39 +01:00
|
|
|
endif
|
|
|
|
|
2017-09-16 17:15:35 +02:00
|
|
|
$(eval $(cmake-package))
|