Skip to content

Commit

Permalink
luarocks: fix syntax and bump release
Browse files Browse the repository at this point in the history
"luarocks make" isn't a good enough test of your rockspec file.  Testing
builds on another computer properly pulled it down out of git and
exposed syntax problems.
  • Loading branch information
karlp committed Apr 28, 2016
1 parent 0ece950 commit 71c1553
Showing 1 changed file with 39 additions and 0 deletions.
39 changes: 39 additions & 0 deletions luarocks/lua-mosquitto-0.2-2.rockspec
@@ -0,0 +1,39 @@
package = "lua-mosquitto"
version = "0.2-2"
source = {
url = "git://github.com/flukso/lua-mosquitto",
tag = "v0.2"
}
description = {
summary = "Lua bindings to libmosquitto",
detailed = [[
Lua bindings to the libmosquitto client library.
The parameters to all functions are as per libmosquitto's api
only with sensible defaults for optional values, and return
values directly rather than via pointers.
]],
homepage = "https://github.com/flukso/lua-mosquitto",
license = "MIT"
}
dependencies = {
"lua >= 5.1"
}
external_dependencies = {
LIBMOSQUITTO = {
header = "mosquitto.h"
}
}
build = {
type = "builtin",
modules = {

mosquitto = {
sources = { "lua-mosquitto.c" },
defines = {},
libraries = { "mosquitto" },
incdirs = { "$LIBMOSQUITTO_INCDIR" },
libdirs = { "$LIBMOSQUITTO_LIBDIR" },
}
}
}

0 comments on commit 71c1553

Please sign in to comment.