Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
luarocks: fix syntax and bump release
"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
Showing
1 changed file
with
39 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" }, | ||
} | ||
} | ||
} | ||
|