7a078ef054
Commite69b8ddd43
bumped paho-mqtt-c to version 1.3.2 but hash was wrong moreover licence has changed to EPL-2.0 since1e91229cb6
So fix that and add LICENSE to the list of license files Fixes: - http://autobuild.buildroot.org/results/7ea1791778053613e9ef6b146dbd1992a0f63dc6 Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
21 lines
618 B
Makefile
21 lines
618 B
Makefile
################################################################################
|
|
#
|
|
# paho-mqtt-c
|
|
#
|
|
################################################################################
|
|
|
|
PAHO_MQTT_C_VERSION = 1.3.2
|
|
PAHO_MQTT_C_SITE = $(call github,eclipse,paho.mqtt.c,v$(PAHO_MQTT_C_VERSION))
|
|
PAHO_MQTT_C_LICENSE = EPL-2.0 or BSD-3-Clause
|
|
PAHO_MQTT_C_LICENSE_FILES = epl-v20 edl-v10 LICENSE
|
|
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))
|