All the mail mirrored from lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH] lua-utf8: new package
@ 2018-01-14 17:25 Francois Perrad
  2018-01-16 22:20 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Francois Perrad @ 2018-01-14 17:25 UTC (permalink / raw
  To: buildroot

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
 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

diff --git a/package/Config.in b/package/Config.in
index 864e6236b..0c5ad88be 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -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"
diff --git a/package/lua-utf8/Config.in b/package/lua-utf8/Config.in
new file mode 100644
index 000000000..313fa4e45
--- /dev/null
+++ b/package/lua-utf8/Config.in
@@ -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
index 000000000..51fa2439f
--- /dev/null
+++ b/package/lua-utf8/lua-utf8.hash
@@ -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
index 000000000..7ed4f3fbe
--- /dev/null
+++ b/package/lua-utf8/lua-utf8.mk
@@ -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))
-- 
2.11.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* [Buildroot] [PATCH] lua-utf8: new package
  2018-01-14 17:25 [Buildroot] [PATCH] lua-utf8: new package Francois Perrad
@ 2018-01-16 22:20 ` Thomas Petazzoni
  0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2018-01-16 22:20 UTC (permalink / raw
  To: buildroot

Hello,

On Sun, 14 Jan 2018 18:25:12 +0100, Francois Perrad wrote:
> Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
> ---
>  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
-- 
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-01-16 22:20 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-01-14 17:25 [Buildroot] [PATCH] lua-utf8: new package Francois Perrad
2018-01-16 22:20 ` Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.