]> rtime.felk.cvut.cz Git - coffee/buildroot.git/commitdiff
lpeg: new package
authorFrancois Perrad <fperrad@gmail.com>
Mon, 24 Feb 2014 07:34:45 +0000 (08:34 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Sat, 1 Mar 2014 14:39:57 +0000 (15:39 +0100)
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Reviewed-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/Config.in
package/lpeg/Config.in [new file with mode: 0644]
package/lpeg/lpeg.mk [new file with mode: 0644]

index ab917195f3c874b1cf2e843fce6d4e86cea01ba3..705ff5ac9d6fe61a9ce1eb4cf9e41168b24aeb86 100644 (file)
@@ -373,6 +373,7 @@ source "package/copas/Config.in"
 source "package/coxpcall/Config.in"
 source "package/lbase64/Config.in"
 source "package/ljsyscall/Config.in"
+source "package/lpeg/Config.in"
 source "package/lua-cjson/Config.in"
 source "package/lua-ev/Config.in"
 source "package/lua-msgpack-native/Config.in"
diff --git a/package/lpeg/Config.in b/package/lpeg/Config.in
new file mode 100644 (file)
index 0000000..da54d61
--- /dev/null
@@ -0,0 +1,8 @@
+config BR2_PACKAGE_LPEG
+       bool "lpeg"
+       depends on BR2_PACKAGE_HAS_LUA_INTERPRETER
+       help
+         LPeg is a new pattern-matching library for Lua,
+         based on Parsing Expression Grammars (PEGs).
+
+         http://www.inf.puc-rio.br/~roberto/lpeg/lpeg.html
diff --git a/package/lpeg/lpeg.mk b/package/lpeg/lpeg.mk
new file mode 100644 (file)
index 0000000..a9759e5
--- /dev/null
@@ -0,0 +1,10 @@
+################################################################################
+#
+# lpeg
+#
+################################################################################
+
+LPEG_VERSION = 0.12-1
+LPEG_LICENSE = MIT
+
+$(eval $(luarocks-package))