lua-valua: new package
authorFrancois Perrad <fperrad@gmail.com>
Sun, 24 Sep 2017 07:59:27 +0000 (09:59 +0200)
committerArnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
Sun, 24 Sep 2017 15:23:38 +0000 (17:23 +0200)
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
[Arnout: rewrap help text]
Signed-off-by: Arnout Vandecappelle (Essensium/Mind) <arnout@mind.be>
package/Config.in
package/lua-valua/Config.in [new file with mode: 0644]
package/lua-valua/lua-valua.hash [new file with mode: 0644]
package/lua-valua/lua-valua.mk [new file with mode: 0644]

index f7b3ad5453d2f52e779e93bfe69fb342b0cbeea6..ddfcd2809c39467c1730609239f2c0c3a76e0a73 100644 (file)
@@ -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 (file)
index 0000000..96b3796
--- /dev/null
@@ -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 (file)
index 0000000..92ea613
--- /dev/null
@@ -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 (file)
index 0000000..8cb0bf5
--- /dev/null
@@ -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))