Skip to contentSkip to conversation

lua-utf8: new package

PATCH New Francois Perrad 2 participants 2 messages Jan 14, 2018 – Jan 16, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 lua-utf8: new package

---
 package/Config.in              |  1 +
 package/lua-utf8/Config.in     |  7 +++++++
 package/lua-utf8/lua-utf8.hash |  2 ++
 package/lua-utf8/lua-utf8.mk   | 12 ++++++++++++
 4 files changed, 22 insertions(+)
 create mode 100644 package/lua-utf8/Config.in
 create mode 100644 package/lua-utf8/lua-utf8.hash
 create mode 100644 package/lua-utf8/lua-utf8.mk
package/Config.in +1 -0
index 864e6236b..0c5ad88be 100644
@@ -601,6 +601,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"
package/lua-utf8/Config.in new file +7 -0
new file mode 100644
index 000000000..313fa4e45
@@ -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
package/lua-utf8/lua-utf8.hash new file +2 -0
new file mode 100644
index 000000000..51fa2439f
@@ -0,0 +1,2 @@
+# Locally calculated
+sha256 c9ceb3a9f327b3215cdf959eebf616970b5b0427ca3fde05b19f8236defa4b91  utf8-1.2-0.src.rock
package/lua-utf8/lua-utf8.mk new file +12 -0
new file mode 100644
index 000000000..7ed4f3fbe
@@ -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))
Signature · 1 line
2.11.0
#1 lore raw

PATCH 1/1 lua-utf8: new package

Hello,

Quoted 10 lines · Francois Perrad
---
 package/Config.in              |  1 +
 package/lua-utf8/Config.in     |  7 +++++++
 package/lua-utf8/lua-utf8.hash |  2 ++
 package/lua-utf8/lua-utf8.mk   | 12 ++++++++++++
 4 files changed, 22 insertions(+)
 create mode 100644 package/lua-utf8/Config.in
 create mode 100644 package/lua-utf8/lua-utf8.hash
 create mode 100644 package/lua-utf8/lua-utf8.mk

Applied to master, thanks. It would be nice to ask the upstream developer to add a license file to lua-utf8.

Thanks!

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com