From 868d30c654b78ba74c8627244ebee079a04c0245 Mon Sep 17 00:00:00 2001 From: Francois Perrad Date: Sun, 13 Oct 2024 11:06:30 +0200 Subject: [PATCH] package/lua-uuid: new package Signed-off-by: Francois Perrad Signed-off-by: Thomas Petazzoni --- 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 diff --git a/package/Config.in b/package/Config.in index b03bc2ffcf76..0e311ad55c04 100644 --- a/package/Config.in +++ b/package/Config.in @@ -776,6 +776,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 000000000000..b2f259f2fd4e --- /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 000000000000..d5942078e09e --- /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 000000000000..5d763071f8ef --- /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))