2016-09-29 11:39:58 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# paho-mqtt-c
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
2017-09-13 08:07:18 +02:00
|
|
|
PAHO_MQTT_C_VERSION = v1.2.0
|
2016-09-29 11:39:58 +02:00
|
|
|
PAHO_MQTT_C_SITE = $(call github,eclipse,paho.mqtt.c,$(PAHO_MQTT_C_VERSION))
|
2017-03-30 15:43:38 +02:00
|
|
|
PAHO_MQTT_C_LICENSE = EPL-1.0 or BSD-3-Clause
|
2016-09-29 11:39:58 +02:00
|
|
|
PAHO_MQTT_C_LICENSE_FILES = epl-v10 edl-v10
|
|
|
|
PAHO_MQTT_C_INSTALL_STAGING = YES
|
|
|
|
|
|
|
|
ifeq ($(BR2_PACKAGE_OPENSSL),y)
|
|
|
|
PAHO_MQTT_C_DEPENDENCIES += openssl
|
|
|
|
PAHO_MQTT_C_CONF_OPTS += -DPAHO_WITH_SSL=TRUE
|
|
|
|
else
|
|
|
|
PAHO_MQTT_C_CONF_OPTS += -DPAHO_WITH_SSL=FALSE
|
|
|
|
endif
|
|
|
|
|
|
|
|
$(eval $(cmake-package))
|