From 2473bbd6a1a34c293549bb501368774cb1f6fdc6 Mon Sep 17 00:00:00 2001 From: Tobiasz Laskowski Date: Tue, 25 Feb 2025 17:29:44 +0000 Subject: [PATCH] Add scm rockspec for installing from master --- lua-simdjson-scm-1.rockspec | 41 +++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 lua-simdjson-scm-1.rockspec diff --git a/lua-simdjson-scm-1.rockspec b/lua-simdjson-scm-1.rockspec new file mode 100644 index 0000000..5e47bbb --- /dev/null +++ b/lua-simdjson-scm-1.rockspec @@ -0,0 +1,41 @@ +package="lua-simdjson" +version="scm-1" +source = { + url = "git://github.com/FourierTransformer/lua-simdjson" +} +description = { + summary = "This is a simple Lua binding for simdjson", + detailed = [[ + This is a c++ binding to simdjson for parsing JSON very quickly. + ]], + homepage = "https://github.com/FourierTransformer/lua-simdjson", + license = "Apache-2.0" +} +dependencies = { + "lua >= 5.1, < 5.5" +} +build = { + type = "make", + build_variables = { + CFLAGS="$(CFLAGS)", + LIBFLAG="$(LIBFLAG)", + LUA_BINDIR="$(LUA_BINDIR)", + LUA_INCDIR="$(LUA_INCDIR)", + LUA="$(LUA)", + }, + install_variables = { + INST_PREFIX="$(PREFIX)", + INST_BINDIR="$(BINDIR)", + INST_LIBDIR="$(LIBDIR)", + INST_LUADIR="$(LUADIR)", + INST_CONFDIR="$(CONFDIR)", + }, + platforms = { + windows = { + build_variables = { + LUA_LIBDIR="$(LUA_LIBDIR)", + LUALIB="$(LUALIB)", + } + } + } +}