Skip to content

Commit 3b62d49

Browse files
authored
Add scm rockspec for installing from master (#98)
1 parent 0557266 commit 3b62d49

1 file changed

Lines changed: 41 additions & 0 deletions

File tree

lua-simdjson-scm-1.rockspec

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
package="lua-simdjson"
2+
version="scm-1"
3+
source = {
4+
url = "git://github.com/FourierTransformer/lua-simdjson"
5+
}
6+
description = {
7+
summary = "This is a simple Lua binding for simdjson",
8+
detailed = [[
9+
This is a c++ binding to simdjson for parsing JSON very quickly.
10+
]],
11+
homepage = "https://github.com/FourierTransformer/lua-simdjson",
12+
license = "Apache-2.0"
13+
}
14+
dependencies = {
15+
"lua >= 5.1, < 5.5"
16+
}
17+
build = {
18+
type = "make",
19+
build_variables = {
20+
CFLAGS="$(CFLAGS)",
21+
LIBFLAG="$(LIBFLAG)",
22+
LUA_BINDIR="$(LUA_BINDIR)",
23+
LUA_INCDIR="$(LUA_INCDIR)",
24+
LUA="$(LUA)",
25+
},
26+
install_variables = {
27+
INST_PREFIX="$(PREFIX)",
28+
INST_BINDIR="$(BINDIR)",
29+
INST_LIBDIR="$(LIBDIR)",
30+
INST_LUADIR="$(LUADIR)",
31+
INST_CONFDIR="$(CONFDIR)",
32+
},
33+
platforms = {
34+
windows = {
35+
build_variables = {
36+
LUA_LIBDIR="$(LUA_LIBDIR)",
37+
LUALIB="$(LUALIB)",
38+
}
39+
}
40+
}
41+
}

0 commit comments

Comments
 (0)