From 25e8edcc7f85c71dd5b58751fa8bf3399ba74e45 Mon Sep 17 00:00:00 2001 From: Francois Perrad Date: Sun, 24 Sep 2017 09:59:27 +0200 Subject: [PATCH] lua-valua: new package Signed-off-by: Francois Perrad [Arnout: rewrap help text] Signed-off-by: Arnout Vandecappelle (Essensium/Mind) --- package/Config.in | 1 + package/lua-valua/Config.in | 9 +++++++++ package/lua-valua/lua-valua.hash | 2 ++ package/lua-valua/lua-valua.mk | 13 +++++++++++++ 4 files changed, 25 insertions(+) create mode 100644 package/lua-valua/Config.in create mode 100644 package/lua-valua/lua-valua.hash create mode 100644 package/lua-valua/lua-valua.mk diff --git a/package/Config.in b/package/Config.in index f7b3ad5453..ddfcd2809c 100644 --- a/package/Config.in +++ b/package/Config.in @@ -602,6 +602,7 @@ menu "Lua libraries/modules" source "package/luasec/Config.in" source "package/luasocket/Config.in" source "package/luasql-sqlite3/Config.in" + source "package/lua-valua/Config.in" source "package/lunit/Config.in" source "package/lutok/Config.in" source "package/luv/Config.in" diff --git a/package/lua-valua/Config.in b/package/lua-valua/Config.in new file mode 100644 index 0000000000..96b3796517 --- /dev/null +++ b/package/lua-valua/Config.in @@ -0,0 +1,9 @@ +config BR2_PACKAGE_LUA_VALUA + bool "lua-valua" + help + This module provides tools for validating values, very useful + in forms, but also usable elsewhere. It works in appended + chains. Create a new validation object and start chaining + your test functions. + + https://github.com/sailorproject/valua diff --git a/package/lua-valua/lua-valua.hash b/package/lua-valua/lua-valua.hash new file mode 100644 index 0000000000..92ea613115 --- /dev/null +++ b/package/lua-valua/lua-valua.hash @@ -0,0 +1,2 @@ +# Locally calculated +sha256 bff39692fd2ac3590fd814aa1b1ca33e5d5971092955309aa8424b02b88ce1a3 valua-0.3-1.src.rock diff --git a/package/lua-valua/lua-valua.mk b/package/lua-valua/lua-valua.mk new file mode 100644 index 0000000000..8cb0bf5261 --- /dev/null +++ b/package/lua-valua/lua-valua.mk @@ -0,0 +1,13 @@ +################################################################################ +# +# lua-valua +# +################################################################################ + +LUA_VALUA_VERSION = 0.3-1 +LUA_VALUA_NAME_UPSTREAM = valua +LUA_VALUA_SUBDIR = valua +LUA_VALUA_LICENSE = MIT +LUA_VALUA_LICENSE_FILES = $(LUA_VALUA_SUBDIR)/LICENSE + +$(eval $(luarocks-package)) -- 2.30.2