From 8bbccd46b784f9e6feb2d43201f221d3c4a6ccea Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Mon, 28 Dec 2020 20:27:39 +0100 Subject: dev-libs/paho-mqtt: update to version 1.3.8 --- dev-libs/paho-mqtt/paho-mqtt-1.3.8-r1.ebuild | 31 ++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 dev-libs/paho-mqtt/paho-mqtt-1.3.8-r1.ebuild (limited to 'dev-libs/paho-mqtt/paho-mqtt-1.3.8-r1.ebuild') diff --git a/dev-libs/paho-mqtt/paho-mqtt-1.3.8-r1.ebuild b/dev-libs/paho-mqtt/paho-mqtt-1.3.8-r1.ebuild new file mode 100644 index 0000000..2ec810f --- /dev/null +++ b/dev-libs/paho-mqtt/paho-mqtt-1.3.8-r1.ebuild @@ -0,0 +1,31 @@ +# Copyright 2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="An Eclipse Paho C client library for MQTT" +HOMEPAGE="https://eclipse.org/paho" +SRC_URI="https://github.com/eclipse/paho.mqtt.c/archive/v${PV}.tar.gz -> paho.mqtt.c-v${PV}.tar.gz" +IUSE="ssl doc" + +LICENSE="EPL-1.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" + +DEPEND="ssl? ( dev-libs/openssl )" +RDEPEND="${DEPEND}" +BDEPEND="" + +S="${WORKDIR}/paho.mqtt.c-${PV}" + +src_configure() { + local mycmakeargs=( + -DPAHO_ENABLE_CPACK=FALSE + -DPAHO_ENABLE_TESTING=FALSE + -DPAHO_WITH_SSL=$(usex ssl TRUE FALSE) + -DPAHO_BUILD_DOCUMENTATION=$(usex doc TRUE FALSE) + ) + cmake_src_configure +} -- cgit v1.2.3