summaryrefslogtreecommitdiffstats
path: root/package/lua-std-normalize
diff options
context:
space:
mode:
authorJames Hilliard <james.hilliard1@gmail.com>2018-12-29 10:07:24 +0800
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>2018-12-30 15:05:48 +0100
commit43780ca1b2c321de7c3c328dcdf58ab9c591b97f (patch)
tree743bc8a5d6af9a82e0c71e5201a7e97d6ee42f7c /package/lua-std-normalize
parent3f86a178ae6a52e93d13a696d3bee9b8f5cdf9b3 (diff)
downloadbuildroot-43780ca1b2c321de7c3c328dcdf58ab9c591b97f.tar.gz
buildroot-43780ca1b2c321de7c3c328dcdf58ab9c591b97f.zip
package/lua-std-normalize: new package
Signed-off-by: James Hilliard <james.hilliard1@gmail.com> Acked-by: Francois Perrad <francois.perrad@gadz.org> [Thomas: - add entry to DEVELOPERS file - drop useless dependency in Config.in - fix path to license file - add hash of license file] Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
Diffstat (limited to 'package/lua-std-normalize')
-rw-r--r--package/lua-std-normalize/Config.in12
-rw-r--r--package/lua-std-normalize/lua-std-normalize.hash3
-rw-r--r--package/lua-std-normalize/lua-std-normalize.mk14
3 files changed, 29 insertions, 0 deletions
diff --git a/package/lua-std-normalize/Config.in b/package/lua-std-normalize/Config.in
new file mode 100644
index 0000000000..35d0a113a9
--- /dev/null
+++ b/package/lua-std-normalize/Config.in
@@ -0,0 +1,12 @@
+config BR2_PACKAGE_LUA_STD_NORMALIZE
+ bool "lua-std-normalize"
+ select BR2_PACKAGE_LUA_STD_DEBUG # runtime
+ help
+ This module can inject deterministic versions of core Lua
+ functions that do not behave identically across all
+ supported Lua implementations into your module's lexical
+ environment. Each function is as thin and fast a version as
+ is possible in each Lua implementation, evaluating to the
+ Lua C implementation with no overhead when semantics allow.
+
+ https://lua-stdlib.github.io/normalize
diff --git a/package/lua-std-normalize/lua-std-normalize.hash b/package/lua-std-normalize/lua-std-normalize.hash
new file mode 100644
index 0000000000..7c11f4914c
--- /dev/null
+++ b/package/lua-std-normalize/lua-std-normalize.hash
@@ -0,0 +1,3 @@
+# Locally calculated
+sha256 50baac6fbcbc6bbe72b63ce0871ec36176d75c04dccc6e368590ba6ef107c67a std.normalize-2.0.2-1.src.rock
+sha256 a6a0a0ddc04f7437806a52cbd637c819144df7626a2e8a496cd3a2e20c8effb3 normalize-2.0.2/LICENSE.md
diff --git a/package/lua-std-normalize/lua-std-normalize.mk b/package/lua-std-normalize/lua-std-normalize.mk
new file mode 100644
index 0000000000..d3a58aa0d4
--- /dev/null
+++ b/package/lua-std-normalize/lua-std-normalize.mk
@@ -0,0 +1,14 @@
+################################################################################
+#
+# lua-std-normalize
+#
+################################################################################
+
+LUA_STD_NORMALIZE_VERSION_UPSTREAM = 2.0.2
+LUA_STD_NORMALIZE_VERSION = $(LUA_STD_NORMALIZE_VERSION_UPSTREAM)-1
+LUA_STD_NORMALIZE_NAME_UPSTREAM = std.normalize
+LUA_STD_NORMALIZE_SUBDIR = normalize-$(LUA_STD_NORMALIZE_VERSION_UPSTREAM)
+LUA_STD_NORMALIZE_LICENSE = MIT
+LUA_STD_NORMALIZE_LICENSE_FILES = $(LUA_STD_NORMALIZE_SUBDIR)/LICENSE.md
+
+$(eval $(luarocks-package))
OpenPOWER on IntegriCloud