lua-utf8: new package
authorFrancois Perrad <fperrad@gmail.com>
Sun, 14 Jan 2018 17:25:12 +0000 (18:25 +0100)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Tue, 16 Jan 2018 22:15:54 +0000 (23:15 +0100)
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/Config.in
package/lua-utf8/Config.in [new file with mode: 0644]
package/lua-utf8/lua-utf8.hash [new file with mode: 0644]
package/lua-utf8/lua-utf8.mk [new file with mode: 0644]

index 8e8e7581ce0e7c5623e3f6e8aeca3144eeea42ad..713d70125315fba7a129d436b913db89a88539f2 100644 (file)
@@ -606,6 +606,7 @@ menu "Lua libraries/modules"
        source "package/lua-sdl2/Config.in"
        source "package/lua-stdlib/Config.in"
        source "package/lua-testmore/Config.in"
+       source "package/lua-utf8/Config.in"
        source "package/luabitop/Config.in"
        source "package/luacrypto/Config.in"
        source "package/luadbi/Config.in"
diff --git a/package/lua-utf8/Config.in b/package/lua-utf8/Config.in
new file mode 100644 (file)
index 0000000..313fa4e
--- /dev/null
@@ -0,0 +1,7 @@
+config BR2_PACKAGE_LUA_UTF8
+       bool "lua-utf8"
+       help
+         This module adds UTF-8 support to Lua.
+         It's compatible with Lua "string" module.
+
+         http://github.com/starwing/luautf8
diff --git a/package/lua-utf8/lua-utf8.hash b/package/lua-utf8/lua-utf8.hash
new file mode 100644 (file)
index 0000000..51fa243
--- /dev/null
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256 c9ceb3a9f327b3215cdf959eebf616970b5b0427ca3fde05b19f8236defa4b91  utf8-1.2-0.src.rock
diff --git a/package/lua-utf8/lua-utf8.mk b/package/lua-utf8/lua-utf8.mk
new file mode 100644 (file)
index 0000000..7ed4f3f
--- /dev/null
@@ -0,0 +1,12 @@
+################################################################################
+#
+# lua-utf8
+#
+################################################################################
+
+LUA_UTF8_VERSION = 1.2-0
+LUA_UTF8_NAME_UPSTREAM = utf8
+LUA_UTF8_SUBDIR = luautf8
+LUA_UTF8_LICENSE = MIT
+
+$(eval $(luarocks-package))