From 7d975525afcb00004afdb73b55e97dd3306f42bf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Karel=20Ko=C4=8D=C3=AD?= Date: Thu, 6 Feb 2020 12:04:20 +0100 Subject: dev-libs/paho-mqtt: add new package --- dev-libs/paho-mqtt/Manifest | 1 + dev-libs/paho-mqtt/paho-mqtt-1.3.1-r1.ebuild | 28 ++++++++++++++++++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 dev-libs/paho-mqtt/Manifest create mode 100644 dev-libs/paho-mqtt/paho-mqtt-1.3.1-r1.ebuild 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 +} -- cgit v1.2.3