Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKevin KIN-FOO2014-10-06 10:51:00 -0400
committerKevin KIN-FOO2014-10-06 11:00:22 -0400
commit54aab5cb9f59cb9c15f95e8391507edaec999c2f (patch)
tree39e2b57114d2af8c9a653dd9115882045f8a8205
parentbe78ecfec4e35ca7981e1093f6fc1a40f01ab56d (diff)
downloadorg.eclipse.paho.mqtt.lua-54aab5cb9f59cb9c15f95e8391507edaec999c2f.tar.gz
org.eclipse.paho.mqtt.lua-54aab5cb9f59cb9c15f95e8391507edaec999c2f.tar.xz
org.eclipse.paho.mqtt.lua-54aab5cb9f59cb9c15f95e8391507edaec999c2f.zip
Bug 433413: Defining .rockspec
Signed-off-by: Kevin KIN-FOO <kkinfoo@sierrawireless.com>
-rw-r--r--.gitignore1
-rw-r--r--paho/mqtt.lua5
-rw-r--r--paho/utility.lua2
-rw-r--r--rocks/paho-mqtt-0.3.0-1.rockspec39
4 files changed, 44 insertions, 3 deletions
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 0000000..43c6239
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1 @@
+*.rock
diff --git a/paho/mqtt.lua b/paho/mqtt.lua
index 3c20c63..34513c1 100644
--- a/paho/mqtt.lua
+++ b/paho/mqtt.lua
@@ -1,7 +1,7 @@
---
-- @module mqtt_library
-- ~~~~~~~~~~~~~~~~
--- Version: 0.2 2012-06-01
+-- Version: 0.3 2014-10-06
-- -------------------------------------------------------------------------- --
-- Copyright (c) 2011-2012 Geekscape Pty. Ltd.
-- All rights reserved. This program and the accompanying materials
@@ -10,7 +10,8 @@
-- http://www.eclipse.org/legal/epl-v10.html
--
-- Contributors:
--- Andy Gelme - Initial API and implementation
+-- Andy Gelme - Initial API and implementation
+-- Kevin KIN-FOO - Authentication and rockspec
-- -------------------------------------------------------------------------- --
--
-- Documentation
diff --git a/paho/utility.lua b/paho/utility.lua
index e4fbfa9..70301ee 100644
--- a/paho/utility.lua
+++ b/paho/utility.lua
@@ -1,7 +1,7 @@
---
-- @module Utility
-- ~~~~~~~~~~~
--- Version: 0.2 2012-06-01
+-- Version: 0.3 2014-10-06
-- -------------------------------------------------------------------------- --
-- Copyright (c) 2011-2012 Geekscape Pty. Ltd.
-- All rights reserved. This program and the accompanying materials
diff --git a/rocks/paho-mqtt-0.3.0-1.rockspec b/rocks/paho-mqtt-0.3.0-1.rockspec
new file mode 100644
index 0000000..d233a18
--- /dev/null
+++ b/rocks/paho-mqtt-0.3.0-1.rockspec
@@ -0,0 +1,39 @@
+package = 'paho-mqtt'
+version = '0.3.0-1'
+source = {
+ url = 'git://git.eclipse.org/gitroot/paho/org.eclipse.paho.mqtt.lua.git',
+ tag = 'v0.3.0-1',
+}
+
+description = {
+ summary = 'Client-side implementation of MQTT',
+ detailed = [[Implements the client-side subset of the MQTT protocol
+ specification 3.1, plus command-line utilities for publishing and
+ subscribing to MQTT topics. Typically, one or more MQTT servers,
+ such as mosquitto or rsmb will be running on host systems, with
+ which the Lua MQTT client can interact.]],
+ license = 'EPL',
+ homepage = 'https://www.eclipse.org/paho/',
+ maintainer = 'Kevin KIN-FOO <kkinfoo@sierrawireless.com>',
+}
+
+dependencies = {
+ 'lua ~> 5.1',
+ 'luafilesystem ~> 1.6',
+ 'luasocket ~> 3.0',
+ 'penlight ~> 1.3',
+}
+
+build = {
+ type = 'builtin',
+ modules = {
+ ['paho.mqtt'] = 'paho/mqtt.lua',
+ ['paho.utility'] = 'paho/utility.lua',
+ },
+ install = {
+ bin = {
+ mqtt_publish = 'paho/example/mqtt_publish.lua',
+ mqtt_subscribe = 'paho/example/mqtt_subscribe.lua',
+ }
+ }
+}

Back to the top