aboutsummaryrefslogtreecommitdiff
path: root/package/lpeg
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 /package/lpeg
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>
Diffstat (limited to 'package/lpeg')
-rw-r--r--package/lpeg/Config.in8
-rw-r--r--package/lpeg/lpeg.mk10
2 files changed, 18 insertions, 0 deletions
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))