fix: fix lpeg version detection
[luajson.git] / rockspecs / luajson-0.10-2.rockspec
blobc29df87697a380e19b68be3879058655e59dcf7f
1 package = "luajson"
2 version = "0.10-2"
3 source = {
4         url = "http://luaforge.net/frs/download.php/3893/luajson-0.10.tar.bz2",
5         md5 = "0b6fa5e3a07daabe79241922b0bfda92"
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 = "src/json.lua",
26                 ["json.util"] = "src/json/util.lua",
27                 ["json.decode"] = "src/json/decode.lua",
28                 ["json.decode.array"] = "src/json/decode/array.lua",
29                 ["json.decode.calls"] = "src/json/decode/calls.lua",
30                 ["json.decode.number"] = "src/json/decode/number.lua",
31                 ["json.decode.object"] = "src/json/decode/object.lua",
32                 ["json.decode.others"] = "src/json/decode/others.lua",
33                 ["json.decode.strings"] = "src/json/decode/strings.lua",
34                 ["json.decode.util"] = "src/json/decode/util.lua",
35                 ["json.encode"] = "src/json/encode.lua",
36                 ["json.encode.array"] = "src/json/encode/array.lua",
37                 ["json.encode.calls"] = "src/json/encode/calls.lua",
38                 ["json.encode.number"] = "src/json/encode/number.lua",
39                 ["json.encode.object"] = "src/json/encode/object.lua",
40                 ["json.encode.others"] = "src/json/encode/others.lua",
41                 ["json.encode.strings"] = "src/json/encode/strings.lua"
42         }