aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGravatar Francois Perrad <fperrad@gmail.com>2014-02-24 08:34:45 +0100
committerGravatar Thomas Petazzoni <thomas.petazzoni@free-electrons.com>2014-03-01 15:39:57 +0100
commit792c2779a3c7535754d690a287696c05fbeb27c2 (patch)
tree1f22e456073883e9298adec6a72302fb668f2bdb
parent34291708d077e5626453378df133a683c9606bef (diff)
downloadbuildroot-792c2779a3c7535754d690a287696c05fbeb27c2.tar.gz
buildroot-792c2779a3c7535754d690a287696c05fbeb27c2.tar.bz2
lpeg: new package
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>
-rw-r--r--package/Config.in1
-rw-r--r--package/lpeg/Config.in8
-rw-r--r--package/lpeg/lpeg.mk10
3 files changed, 19 insertions, 0 deletions
diff --git a/package/Config.in b/package/Config.in
index ab917195f3..705ff5ac9d 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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
index 0000000000..da54d61ab5
--- /dev/null
+++ b/package/lpeg/Config.in
@@ -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
index 0000000000..a9759e59c6
--- /dev/null
+++ b/package/lpeg/lpeg.mk
@@ -0,0 +1,10 @@
+################################################################################
+#
+# lpeg
+#
+################################################################################
+
+LPEG_VERSION = 0.12-1
+LPEG_LICENSE = MIT
+
+$(eval $(luarocks-package))