summaryrefslogtreecommitdiff
path: root/dev-libs/paho-mqtt
diff options
context:
space:
mode:
authorKarel Kočí <karel.koci@nic.cz>2020-02-06 12:04:20 +0100
committerKarel Kočí <karel.koci@nic.cz>2020-02-06 12:04:20 +0100
commit7d975525afcb00004afdb73b55e97dd3306f42bf (patch)
treea2535c9306edc7191a090de8a704e5596d5724dd /dev-libs/paho-mqtt
parent9a8c294d29c426cd9dd54cb5afdaa909a72ae880 (diff)
downloadgentoo-personal-overlay-7d975525afcb00004afdb73b55e97dd3306f42bf.tar.gz
gentoo-personal-overlay-7d975525afcb00004afdb73b55e97dd3306f42bf.tar.bz2
gentoo-personal-overlay-7d975525afcb00004afdb73b55e97dd3306f42bf.zip
dev-libs/paho-mqtt: add new package
Diffstat (limited to 'dev-libs/paho-mqtt')
-rw-r--r--dev-libs/paho-mqtt/Manifest1
-rw-r--r--dev-libs/paho-mqtt/paho-mqtt-1.3.1-r1.ebuild28
2 files changed, 29 insertions, 0 deletions
diff --git a/dev-libs/paho-mqtt/Manifest b/dev-libs/paho-mqtt/Manifest
new file mode 100644
index 0000000..17eb060
--- /dev/null
+++ b/dev-libs/paho-mqtt/Manifest
@@ -0,0 +1 @@
+DIST v1.3.1.tar.gz 472789 BLAKE2B 75056377eb27e494de131ba5253e6b6118f59f3f793a83cd17c8a6abaa13a440239f57c898133fe615451ec23c3917045dfdac5fa98e9777af24388e34ff72da SHA512 d1af99e6d647ac75ae0831e9478d2bf0c0e83171f451707d01cec4de766d6dddd87ccb4e77600ecdbfde51ddd81e174fdd542cdb7baf90a7d9701e1101b8a67e
diff --git a/dev-libs/paho-mqtt/paho-mqtt-1.3.1-r1.ebuild b/dev-libs/paho-mqtt/paho-mqtt-1.3.1-r1.ebuild
new file mode 100644
index 0000000..ffe93ef
--- /dev/null
+++ b/dev-libs/paho-mqtt/paho-mqtt-1.3.1-r1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit cmake-utils
+
+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"
+
+LICENSE="EPL-1.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+DEPEND="dev-libs/openssl"
+RDEPEND="${DEPEND}"
+BDEPEND=""
+
+S="${WORKDIR}/paho.mqtt.c-${PV}"
+
+src_configure() {
+ local mycmakeargs=(
+ -DPAHO_WITH_SSL=TRUE
+ -DPAHO_BUILD_SAMPLES=FALSE
+ )
+ cmake-utils_src_configure
+}