cosmo: new package

[Thomas: indicate that the lpeg dependency is a run-time dependency,
as suggested by Arnout.]

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
Francois Perrad 2014-02-24 08:34:46 +01:00 committed by Thomas Petazzoni
parent 792c2779a3
commit 08f2dd2bf6
3 changed files with 19 additions and 0 deletions

View File

@ -370,6 +370,7 @@ if BR2_PACKAGE_HAS_LUA_INTERPRETER && !BR2_PREFER_STATIC_LIB
menu "Lua libraries/modules" menu "Lua libraries/modules"
source "package/cgilua/Config.in" source "package/cgilua/Config.in"
source "package/copas/Config.in" source "package/copas/Config.in"
source "package/cosmo/Config.in"
source "package/coxpcall/Config.in" source "package/coxpcall/Config.in"
source "package/lbase64/Config.in" source "package/lbase64/Config.in"
source "package/ljsyscall/Config.in" source "package/ljsyscall/Config.in"

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

@ -0,0 +1,8 @@
config BR2_PACKAGE_COSMO
bool "cosmo"
# run-time dependency
select BR2_PACKAGE_LPEG
help
Cosmo is a "safe templates" engine for Lua.
http://mascarenhas.github.io/cosmo/

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

@ -0,0 +1,10 @@
################################################################################
#
# cosmo
#
################################################################################
COSMO_VERSION = 13.01.30-1
COSMO_LICENSE = MIT
$(eval $(luarocks-package))