diff options
Diffstat (limited to 'lua-nng-master-1.rockspec')
| -rw-r--r-- | lua-nng-master-1.rockspec | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/lua-nng-master-1.rockspec b/lua-nng-master-1.rockspec new file mode 100644 index 0000000..9075cb3 --- /dev/null +++ b/lua-nng-master-1.rockspec @@ -0,0 +1,40 @@ +package = "lua-nng" +rockspec_format="3.0" +version = "master-1" +source = { + url = "git+https://cogarr.net/source/cgit.cgi/lua-nng", +} +description = { + summary = "A simple binding for Nanomessage Next Generation", + homepage = "https://cogarr.net/source/cgit.cgi/lua-nng/about", + license = "BSD/2 Clause", + maintainer = "Alexander Pickering <alex@cogarr.net>", + labels = {"network","nanomessage","nng"} +} +external_dependencies = { + NNG = { + library = "nng", + header = "nng/nng.h" + } +} +build = { + type = "make", + build_variables = { + CFLAGS="$(CFLAGS)", + LUA_INCDIR="$(LUA_INCDIR)", + LUA_LIBDIR="$(LUA_LIBDIR)", + NNG_INCDIR="$(NNG_INCDIR)", + NNG_LIBDIR="$(NNG_LIBDIR)", + FIND="$(FIND)", + LIB_EXTENSION="$(LIB_EXTENSION)", + LIBFLAG="$(LIBFLAG)", + }, + install_variables = { + INST_PREFIX="$(PREFIX)", + INST_LIBDIR="$(LIBDIR)", + NNG_LIBDIR="$(NNG_LIBDIR)", + LUA_LIBDIR="$(LUA_LIBDIR)", + LIB_EXTENSION="$(LIB_EXTENSION)", + CP="$(CP)", + }, +} |
