diff mbox series

package/lua-uuid: new package

Message ID 20241013090630.256076-1-francois.perrad@gadz.org
State Accepted
Headers show
Series package/lua-uuid: new package | expand

Commit Message

Francois Perrad Oct. 13, 2024, 9:06 a.m. UTC
Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
---
 package/Config.in              |  1 +
 package/lua-uuid/Config.in     |  6 ++++++
 package/lua-uuid/lua-uuid.hash |  3 +++
 package/lua-uuid/lua-uuid.mk   | 13 +++++++++++++
 4 files changed, 23 insertions(+)
 create mode 100644 package/lua-uuid/Config.in
 create mode 100644 package/lua-uuid/lua-uuid.hash
 create mode 100644 package/lua-uuid/lua-uuid.mk

Comments

Thomas Petazzoni Oct. 26, 2024, 9:02 p.m. UTC | #1
On Sun, 13 Oct 2024 11:06:30 +0200
Francois Perrad <francois.perrad@gadz.org> wrote:

> Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
> ---
>  package/Config.in              |  1 +
>  package/lua-uuid/Config.in     |  6 ++++++
>  package/lua-uuid/lua-uuid.hash |  3 +++
>  package/lua-uuid/lua-uuid.mk   | 13 +++++++++++++
>  4 files changed, 23 insertions(+)
>  create mode 100644 package/lua-uuid/Config.in
>  create mode 100644 package/lua-uuid/lua-uuid.hash
>  create mode 100644 package/lua-uuid/lua-uuid.mk

Applied to master, thanks.

Thomas
diff mbox series

Patch

diff --git a/package/Config.in b/package/Config.in
index 35ed324c0..966ad1da0 100644
--- a/package/Config.in
+++ b/package/Config.in
@@ -773,6 +773,7 @@  menu "Lua libraries/modules"
 	source "package/lua-testmore/Config.in"
 	source "package/lua-ubjson/Config.in"
 	source "package/lua-utf8/Config.in"
+	source "package/lua-uuid/Config.in"
 	source "package/lua-valua/Config.in"
 	source "package/lua-zlib/Config.in"
 	source "package/luabitop/Config.in"
diff --git a/package/lua-uuid/Config.in b/package/lua-uuid/Config.in
new file mode 100644
index 000000000..b2f259f2f
--- /dev/null
+++ b/package/lua-uuid/Config.in
@@ -0,0 +1,6 @@ 
+config BR2_PACKAGE_LUA_UUID
+	bool "lua-uuid"
+	help
+	  Generates uuids in pure Lua.
+
+	  https://github.com/Tieske/uuid
diff --git a/package/lua-uuid/lua-uuid.hash b/package/lua-uuid/lua-uuid.hash
new file mode 100644
index 000000000..d5942078e
--- /dev/null
+++ b/package/lua-uuid/lua-uuid.hash
@@ -0,0 +1,3 @@ 
+# computed by luarocks/buildroot
+sha256  e615c1fb1c22e50af5860e45794c027b1a5524cb8e7e6206ad3fed8e78b1f59e  uuid-1.0.0-1.src.rock
+sha256  27e7bf0219274247f4014cfb5070abfb2bb27e66c17a2dbd61427cf7fed81199  uuid/LICENSE.md
diff --git a/package/lua-uuid/lua-uuid.mk b/package/lua-uuid/lua-uuid.mk
new file mode 100644
index 000000000..5d763071f
--- /dev/null
+++ b/package/lua-uuid/lua-uuid.mk
@@ -0,0 +1,13 @@ 
+################################################################################
+#
+# lua-uuid
+#
+################################################################################
+
+LUA_UUID_VERSION = 1.0.0-1
+LUA_UUID_NAME_UPSTREAM = uuid
+LUA_UUID_SUBDIR = uuid
+LUA_UUID_LICENSE = Apache-2.0
+LUA_UUID_LICENSE_FILES = $(LUA_UUID_SUBDIR)/LICENSE.md
+
+$(eval $(luarocks-package))