kumquat-buildroot/package/paho-mqtt-c/paho-mqtt-c.mk
Titouan Christophe 57053f29b7 package/paho-mqtt-c: bump to version 1.3.4
This is a crucial bugfix release that fixes a backward incompatible ABI
change introduced in 1.3.2.

Also drop patches that are now applied upstream.

Signed-off-by: Titouan Christophe <titouan.christophe@railnova.eu>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-06-18 15:32:56 +02:00

26 lines
735 B
Makefile

################################################################################
#
# paho-mqtt-c
#
################################################################################
PAHO_MQTT_C_VERSION = 1.3.4
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
PAHO_MQTT_C_CONF_OPTS = \
-DPAHO_ENABLE_TESTING=FALSE \
-DPAHO_ENABLE_CPACK=FALSE \
-DPAHO_HIGH_PERFORMANCE=TRUE
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))