summaryrefslogtreecommitdiff
path: root/dev-libs/paho-mqtt/paho-mqtt-1.3.8-r1.ebuild
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2020-12-28 20:27:39 +0100
committerKarel Kočí <cynerd@email.cz>2020-12-28 20:27:39 +0100
commit8bbccd46b784f9e6feb2d43201f221d3c4a6ccea (patch)
tree92f0b456aa1a2ad4001f76986a6bb451c5ae41e5 /dev-libs/paho-mqtt/paho-mqtt-1.3.8-r1.ebuild
parentfecf37bbdecc7e7a425878ba624c17ab8c775294 (diff)
downloadgentoo-personal-overlay-8bbccd46b784f9e6feb2d43201f221d3c4a6ccea.tar.gz
gentoo-personal-overlay-8bbccd46b784f9e6feb2d43201f221d3c4a6ccea.tar.bz2
gentoo-personal-overlay-8bbccd46b784f9e6feb2d43201f221d3c4a6ccea.zip
dev-libs/paho-mqtt: update to version 1.3.8
Diffstat (limited to 'dev-libs/paho-mqtt/paho-mqtt-1.3.8-r1.ebuild')
-rw-r--r--dev-libs/paho-mqtt/paho-mqtt-1.3.8-r1.ebuild31
1 files changed, 31 insertions, 0 deletions
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
+}