mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
From: Roland Hieber <rhi@pengutronix.de>
To: PTXdist Mailing List <ptxdist@pengutronix.de>
Cc: Marc Kleine-Budde <mkl@pengutronix.de>,
	Roland Hieber <rhi@pengutronix.de>
Subject: [ptxdist] [PATCH v1 05/11] paho-mqtt-cpp: new package
Date: Tue, 28 May 2019 13:57:50 +0200	[thread overview]
Message-ID: <20190528115756.2279-5-rhi@pengutronix.de> (raw)
In-Reply-To: <20190528115756.2279-1-rhi@pengutronix.de>

From: Marc Kleine-Budde <mkl@pengutronix.de>

Co-authored-by: Roland Hieber <rhi@pengutronix.de>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Roland Hieber <rhi@pengutronix.de>
---
 rules/paho-mqtt-cpp.in   | 13 +++++++++
 rules/paho-mqtt-cpp.make | 58 ++++++++++++++++++++++++++++++++++++++++
 2 files changed, 71 insertions(+)
 create mode 100644 rules/paho-mqtt-cpp.in
 create mode 100644 rules/paho-mqtt-cpp.make

diff --git a/rules/paho-mqtt-cpp.in b/rules/paho-mqtt-cpp.in
new file mode 100644
index 000000000000..4037b9f62a8b
--- /dev/null
+++ b/rules/paho-mqtt-cpp.in
@@ -0,0 +1,13 @@
+## SECTION=system_libraries
+
+config PAHO_MQTT_CPP
+	tristate "paho.mqtt.cpp"
+	select HOST_CMAKE
+	select OPENSSL
+	select PAHO_MQTT_C
+	help
+	  C++ package implementing MQTT client library by Eclipse Paho
+
+	  The Paho MQTT package provides a library which enable
+	  applications to connect to broker to publish messages, and
+	  to subscribe to topics and receive published messages.
diff --git a/rules/paho-mqtt-cpp.make b/rules/paho-mqtt-cpp.make
new file mode 100644
index 000000000000..e94737d80f95
--- /dev/null
+++ b/rules/paho-mqtt-cpp.make
@@ -0,0 +1,58 @@
+# -*-makefile-*-
+#
+# Copyright (C) 2019 by Marc Kleine-Budde <mkl@pengutronix.de>
+#
+# See CREDITS for details about who has contributed to this project.
+#
+# For further information about the PTXdist project and license conditions
+# see the README file.
+#
+
+#
+# We provide this package
+#
+PACKAGES-$(PTXCONF_PAHO_MQTT_CPP) += paho-mqtt-cpp
+
+#
+# Paths and names
+#
+PAHO_MQTT_CPP_VERSION	:= 1.0.1
+PAHO_MQTT_CPP_MD5	:= 78c9c7c90d932926ab0d1181356e3ba8
+PAHO_MQTT_CPP		:= paho.mqtt.cpp-$(PAHO_MQTT_CPP_VERSION)
+PAHO_MQTT_CPP_SUFFIX	:= tar.gz
+PAHO_MQTT_CPP_URL	:= https://github.com/eclipse/paho.mqtt.cpp/archive/v$(PAHO_MQTT_CPP_VERSION).$(PAHO_MQTT_CPP_SUFFIX)
+PAHO_MQTT_CPP_SOURCE	:= $(SRCDIR)/$(PAHO_MQTT_CPP).$(PAHO_MQTT_CPP_SUFFIX)
+PAHO_MQTT_CPP_DIR	:= $(BUILDDIR)/$(PAHO_MQTT_CPP)
+# "Eclipse Distribution License - v 1.0" is in fact BSD-3-Clause
+PAHO_MQTT_CPP_LICENSE	:= EPL-1.0 AND BSD-3-Clause
+PAHO_MQTT_CPP_LICENSE_FILES := \
+	file://about.html;md5sum=dcde438d73cf42393da9d40fabc0c9bc \
+	file://epl-v10;md5=659c8e92a40b6df1d9e3dccf5ae45a08 \
+	file://edl-v10;md5=3adfcc70f5aeb7a44f3f9b495aa1fbf3
+
+# ----------------------------------------------------------------------------
+# Prepare
+# ----------------------------------------------------------------------------
+
+PAHO_MQTT_CPP_CONF_TOOL	:= cmake
+
+# ----------------------------------------------------------------------------
+# Target-Install
+# ----------------------------------------------------------------------------
+
+$(STATEDIR)/paho-mqtt-cpp.targetinstall:
+	@$(call targetinfo)
+
+	@$(call install_init, paho-mqtt-cpp)
+	@$(call install_fixup, paho-mqtt-cpp,PRIORITY,optional)
+	@$(call install_fixup, paho-mqtt-cpp,SECTION,base)
+	@$(call install_fixup, paho-mqtt-cpp,AUTHOR,"Marc Kleine-Budde <mkl@pengutronix.de>")
+	@$(call install_fixup, paho-mqtt-cpp,DESCRIPTION,missing)
+
+	@$(call install_lib, paho-mqtt-cpp, 0, 0, 0644, libpaho-mqttpp3)
+
+	@$(call install_finish, paho-mqtt-cpp)
+
+	@$(call touch)
+
+# vim: syntax=make
-- 
2.20.1


_______________________________________________
ptxdist mailing list
ptxdist@pengutronix.de

  parent reply	other threads:[~2019-05-28 11:57 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-05-28 11:57 [ptxdist] [PATCH v1 01/11] rsync: add "rsync over ssh" feature Roland Hieber
2019-05-28 11:57 ` [ptxdist] [PATCH v1 02/11] yajl: improve kconfig help text Roland Hieber
2019-05-28 11:57 ` [ptxdist] [PATCH v1 03/11] minicoredumper: enable and configure minicoredumper Roland Hieber
2019-05-28 11:57 ` [ptxdist] [PATCH v1 04/11] paho-mqtt-c: new package Roland Hieber
2019-05-28 11:57 ` Roland Hieber [this message]
2019-05-28 11:57 ` [ptxdist] [PATCH v1 06/11] host-autotools-autoconf-archive: " Roland Hieber
2019-05-28 11:57 ` [ptxdist] [PATCH v1 07/11] rootfs: add tpm user and group Roland Hieber
2019-05-28 11:57 ` [ptxdist] [PATCH v1 08/11] tpm: add new menu Roland Hieber
2019-05-28 11:57 ` [ptxdist] [PATCH v1 09/11] tpm2-tss: new package Roland Hieber
2019-05-28 11:57 ` [ptxdist] [PATCH v1 10/11] tpm2-abrmd: " Roland Hieber
2019-05-28 11:57 ` [ptxdist] [PATCH v1 11/11] tpm2-tools: " Roland Hieber

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20190528115756.2279-5-rhi@pengutronix.de \
    --to=rhi@pengutronix.de \
    --cc=mkl@pengutronix.de \
    --cc=ptxdist@pengutronix.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox