diff options
author | Boris Nagaev <bnagaev@gmail.com> | 2015-11-29 21:34:37 (GMT) |
---|---|---|
committer | Boris Nagaev <bnagaev@gmail.com> | 2015-12-06 02:38:23 (GMT) |
commit | 43cb3196e67720ff6cd6bd26e10269dddc5fa3ff (patch) | |
tree | 6fb300fbf21053d9aa0085d425e528f9ee13fa98 /plugins/luarocks/lpeg-1-rockspec.patch | |
parent | 08488f9ecc3a9de115b3c68f059f493e331fc60b (diff) | |
download | mxe-43cb3196e67720ff6cd6bd26e10269dddc5fa3ff.zip mxe-43cb3196e67720ff6cd6bd26e10269dddc5fa3ff.tar.gz mxe-43cb3196e67720ff6cd6bd26e10269dddc5fa3ff.tar.bz2 |
add plugin luarocks
LuaRocks plugin adds
* package "luarocks"
* several packages with rocks (lpeg, luasocket, llthreads2, lua-rapidjson)
* plugins/luarocks/README.md
* virtual rock "all-rocks" depending on all rocks
* short test for rocks
Diffstat (limited to 'plugins/luarocks/lpeg-1-rockspec.patch')
-rw-r--r-- | plugins/luarocks/lpeg-1-rockspec.patch | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/plugins/luarocks/lpeg-1-rockspec.patch b/plugins/luarocks/lpeg-1-rockspec.patch new file mode 100644 index 0000000..2d336e9 --- /dev/null +++ b/plugins/luarocks/lpeg-1-rockspec.patch @@ -0,0 +1,55 @@ +This file is part of MXE. +See index.html for further information. + +From f271a094f8add34df3f31ac6fb12c9fe683f763a Mon Sep 17 00:00:00 2001 +From: Boris Nagaev <bnagaev@gmail.com> +Date: Sat, 10 Oct 2015 16:40:35 +0100 +Subject: [PATCH] add rockspec + +Source:https://luarocks.org/modules/gvvaughan/lpeg/1.0.0-1 +--- + lpeg-1.0.0-1.rockspec | 32 ++++++++++++++++++++++++++++++++ + 1 file changed, 32 insertions(+) + create mode 100644 lpeg-1.0.0-1.rockspec + +diff --git a/lpeg-1.0.0-1.rockspec b/lpeg-1.0.0-1.rockspec +new file mode 100644 +index 0000000..b4fdd27 +--- /dev/null ++++ b/lpeg-1.0.0-1.rockspec +@@ -0,0 +1,32 @@ ++package = "LPeg" ++version = "1.0.0-1" ++source = { ++ url = "http://www.inf.puc-rio.br/~roberto/lpeg/lpeg-1.0.0.tar.gz", ++ md5 = "0aec64ccd13996202ad0c099e2877ece", ++} ++description = { ++ summary = "Parsing Expression Grammars For Lua", ++ detailed = [[ ++ LPeg is a new pattern-matching library for Lua, based on Parsing ++ Expression Grammars (PEGs). The nice thing about PEGs is that it ++ has a formal basis (instead of being an ad-hoc set of features), ++ allows an efficient and simple implementation, and does most things ++ we expect from a pattern-matching library (and more, as we can ++ define entire grammars). ++ ]], ++ homepage = "http://www.inf.puc-rio.br/~roberto/lpeg.html", ++ maintainer = "Gary V. Vaughan <gary@vaughan.pe>", ++ license = "MIT/X11" ++} ++dependencies = { ++ "lua >= 5.1" ++} ++build = { ++ type = "builtin", ++ modules = { ++ lpeg = { ++ "lpcap.c", "lpcode.c", "lpprint.c", "lptree.c", "lpvm.c" ++ }, ++ re = "re.lua" ++ } ++} +-- +2.1.4 + |