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>
This commit is contained in:
Francois Perrad 2014-02-24 08:34:45 +01:00 committed by Thomas Petazzoni
parent 34291708d0
commit 792c2779a3
3 changed files with 19 additions and 0 deletions

View 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"

8
package/lpeg/Config.in Normal file
View File

@ -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

10
package/lpeg/lpeg.mk Normal file
View File

@ -0,0 +1,10 @@
################################################################################
#
# lpeg
#
################################################################################
LPEG_VERSION = 0.12-1
LPEG_LICENSE = MIT
$(eval $(luarocks-package))