fix: fix lpeg version detection
[luajson.git] / rockspecs / luajson-1.0.1-1.rockspec
blob35584dc77dd9003beb22ad485f967d4c73092c3e
1 package = "luajson"
2 version = "1.0.1-1"
3 source = {
4         url = "http://luaforge.net/frs/download.php/4311/luajson-1.0.1.tar.bz2",
5         md5 = "f6d52689e0bc4cbbfffff29308e78812"
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         "lunit >= 0.4",
20         "lpeg >= 0.8.1"
22 build = {
23         type = "module",
24         modules = {
25                 ["json"] = "lua/json.lua",
26                 ["json.decode"] = "lua/json/decode.lua",
27                 ["json.decode.array"] = "lua/json/decode/array.lua",
28                 ["json.decode.calls"] = "lua/json/decode/calls.lua",
29                 ["json.decode.number"] = "lua/json/decode/number.lua",
30                 ["json.decode.object"] = "lua/json/decode/object.lua",
31                 ["json.decode.others"] = "lua/json/decode/others.lua",
32                 ["json.decode.strings"] = "lua/json/decode/strings.lua",
33                 ["json.decode.util"] = "lua/json/decode/util.lua",
34                 ["json.encode"] = "lua/json/encode.lua",
35                 ["json.encode.array"] = "lua/json/encode/array.lua",
36                 ["json.encode.calls"] = "lua/json/encode/calls.lua",
37                 ["json.encode.number"] = "lua/json/encode/number.lua",
38                 ["json.encode.object"] = "lua/json/encode/object.lua",
39                 ["json.encode.others"] = "lua/json/encode/others.lua",
40                 ["json.encode.output"] = "lua/json/encode/output.lua",
41                 ["json.encode.output_utility"] = "lua/json/encode/output_utility.lua",
42                 ["json.encode.strings"] = "lua/json/encode/strings.lua",
43                 ["json.util"] = "lua/json/util.lua"
44         }