From 3cc98f216871411cdfa1fbc35232d3228126ef91 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9rgio=20Queiroz?= Date: Thu, 8 Feb 2018 15:14:01 -0300 Subject: [PATCH] Adding rockspec to version v1.5 --- rockspecs/lpeglabel-1.5.0-1.rockspec | 32 ++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 rockspecs/lpeglabel-1.5.0-1.rockspec diff --git a/rockspecs/lpeglabel-1.5.0-1.rockspec b/rockspecs/lpeglabel-1.5.0-1.rockspec new file mode 100644 index 0000000..ba73d6a --- /dev/null +++ b/rockspecs/lpeglabel-1.5.0-1.rockspec @@ -0,0 +1,32 @@ +package = "LPegLabel" +version = "1.5.0-1" +source = { + url = "https://github.com/sqmedeiros/lpeglabel/archive/v1.5.0-1.tar.gz", + tag = "v1.5.0-1", + dir = "lpeglabel-1.5.0-1", +} +description = { + summary = "Parsing Expression Grammars For Lua with Labeled Failures", + detailed = [[ + LPegLabel is a conservative extension of the LPeg library that provides + an implementation of Parsing Expression Grammars (PEGs) with labeled failures. + Labels can be used to signal different kinds of erros and to specify which recovery + pattern or labeled choice should handle a given label. + LPegLabel also reports the farthest failure position in case of an ordinary failure. + ]], + homepage = "https://github.com/sqmedeiros/lpeglabel/", + maintainer = "Sergio Medeiros ", + license = "MIT/X11" +} +dependencies = { + "lua >= 5.1", +} +build = { + type = "builtin", + modules = { + lpeglabel = { + "lpcap.c", "lpcode.c", "lpprint.c", "lptree.c", "lpvm.c" + }, + relabel = "relabel.lua" + } +}