diff options
Diffstat (limited to 'lpeg-1.1.0-2.rockspec')
-rw-r--r-- | lpeg-1.1.0-2.rockspec | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/lpeg-1.1.0-2.rockspec b/lpeg-1.1.0-2.rockspec new file mode 100644 index 0000000..22da586 --- /dev/null +++ b/lpeg-1.1.0-2.rockspec | |||
@@ -0,0 +1,35 @@ | |||
1 | package = 'LPeg' | ||
2 | version = '1.1.0-2' | ||
3 | source = { | ||
4 | url = 'https://www.inf.puc-rio.br/~roberto/lpeg/lpeg-1.1.0.tar.gz', | ||
5 | md5 = '842a538b403b5639510c9b6fffd2c75b', | ||
6 | } | ||
7 | description = { | ||
8 | summary = 'Parsing Expression Grammars For Lua', | ||
9 | detailed = [[ | ||
10 | LPeg is a new pattern-matching library for Lua, based on Parsing | ||
11 | Expression Grammars (PEGs). The nice thing about PEGs is that it | ||
12 | has a formal basis (instead of being an ad-hoc set of features), | ||
13 | allows an efficient and simple implementation, and does most things | ||
14 | we expect from a pattern-matching library (and more, as we can | ||
15 | define entire grammars). | ||
16 | |||
17 | This version is re-packaged for lua4win with code borrowed from | ||
18 | Gary V. Vaughan <gary@vaughan.pe> | ||
19 | ]], | ||
20 | homepage = 'https://www.inf.puc-rio.br/~roberto/lpeg.html', | ||
21 | maintainer = 'Alexander Pickering <alex@lua4.win>', | ||
22 | license = 'MIT/X11' | ||
23 | } | ||
24 | dependencies = { | ||
25 | 'lua >= 5.1' | ||
26 | } | ||
27 | build = { | ||
28 | type = 'builtin', | ||
29 | modules = { | ||
30 | lpeg = { | ||
31 | 'lpcap.c', 'lpcode.c', 'lpcset.c', 'lpprint.c', 'lptree.c', 'lpvm.c' | ||
32 | }, | ||
33 | re = 're.lua' | ||
34 | } | ||
35 | } | ||