summaryrefslogtreecommitdiff
path: root/package/paho
diff options
context:
space:
mode:
authorJoerg Seitter <adk@seitter.net>2020-04-11 09:00:22 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2020-04-14 10:20:04 +0200
commit496131d955da3eb25f1237d3a41d3e51e826dc82 (patch)
tree227b42e1306f76ced45e97a999cabb3f35c778aa /package/paho
parent63232b42691270543855daec7f3ba4ee4d86ff2d (diff)
new package paho
Signed-off-by: Joerg Seitter <adk@seitter.net>
Diffstat (limited to 'package/paho')
-rw-r--r--package/paho/Makefile34
1 files changed, 34 insertions, 0 deletions
diff --git a/package/paho/Makefile b/package/paho/Makefile
new file mode 100644
index 000000000..b28d6dd1e
--- /dev/null
+++ b/package/paho/Makefile
@@ -0,0 +1,34 @@
+# This file is part of the OpenADK project. OpenADK is copyrighted
+# material, please see the LICENCE file in the top-level directory.
+
+include $(ADK_TOPDIR)/rules.mk
+
+PKG_NAME:= paho
+PKG_VERSION:= v1.3.1
+PKG_RELEASE:= 1
+#PKG_HASH:= 7b4eed66ae3df3613629139c0df28b16abfa4e0927bd17360027d936784aa55e
+PKG_GIT:= tag
+PKG_DESCR:= Eclipse Paho MQTT client library
+PKG_SECTION:= libs/misc
+PKG_URL:= https://www.eclipse.org/paho/clients/c/a
+PKG_SITES:= https://github.com/eclipse/paho.mqtt.c.git
+PKG_OPTS:= dev
+
+#DISTFILES:= v$(PKG_VERSION).tar.gz
+
+include $(ADK_TOPDIR)/mk/package.mk
+
+$(eval $(call PKG_template,PAHO,paho,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_DEPENDS),$(PKG_DESCR),$(PKG_SECTION),$(PKG_OPTS)))
+
+
+CONFIG_STYLE:= cmake
+
+paho-install:
+ $(INSTALL_DIR) $(IDIR_PAHO)/usr/bin
+ $(INSTALL_BIN) $(WRKINST)/usr/bin/MQTTVersion \
+ $(IDIR_PAHO)/usr/bin
+ $(INSTALL_DIR) $(IDIR_PAHO)/usr/lib
+ $(CP) $(WRKINST)/usr/lib/libpaho*.so* \
+ $(IDIR_PAHO)/usr/lib
+
+include $(ADK_TOPDIR)/mk/pkg-bottom.mk