fix: fix lpeg version detection
[luajson.git] / rockspecs / luajson-1.3.2-2.rockspec
bloba427513282bee07c42dae9ae5e77f83a5f751214
1 package = "luajson"
2 version = "1.3.2-2"
3 source = {
4         url = "git://github.com/harningt/luajson.git",
5         tag = "1.3.2"
7 description = {
8         summary = "customizable JSON decoder/encoder",
9         detailed = [[
10                 LuaJSON is a customizable JSON decoder/encoder using
11                 LPEG for parsing.
12         ]],
13         homepage = "http://github.com/harningt/luajson",
14         maintainer = "Thomas Harning <harningt@gmail.com>",
15         license = "MIT/X11"
17 dependencies = {
18         "lua >= 5.1",
19         "lpeg >= 0.8.1"
21 build = {
22         type = "module",
23         modules = {
24                 ["json"] = "lua/json.lua",
25                 ["json.decode"] = "lua/json/decode.lua",
26                 ["json.decode.composite"] = "lua/json/decode/composite.lua",
27                 ["json.decode.number"] = "lua/json/decode/number.lua",
28                 ["json.decode.others"] = "lua/json/decode/others.lua",
29                 ["json.decode.state"] = "lua/json/decode/state.lua",
30                 ["json.decode.strings"] = "lua/json/decode/strings.lua",
31                 ["json.decode.util"] = "lua/json/decode/util.lua",
32                 ["json.encode"] = "lua/json/encode.lua",
33                 ["json.encode.array"] = "lua/json/encode/array.lua",
34                 ["json.encode.calls"] = "lua/json/encode/calls.lua",
35                 ["json.encode.number"] = "lua/json/encode/number.lua",
36                 ["json.encode.object"] = "lua/json/encode/object.lua",
37                 ["json.encode.others"] = "lua/json/encode/others.lua",
38                 ["json.encode.output"] = "lua/json/encode/output.lua",
39                 ["json.encode.output_utility"] = "lua/json/encode/output_utility.lua",
40                 ["json.encode.strings"] = "lua/json/encode/strings.lua",
41                 ["json.util"] = "lua/json/util.lua"
42         }