package/lua-conciseserialization: new package

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
Francois Perrad 2023-12-06 10:39:41 +01:00 committed by Thomas Petazzoni
parent ef851d6d93
commit 85882c69a9
4 changed files with 29 additions and 0 deletions

View File

@ -728,6 +728,7 @@ menu "Lua libraries/modules"
source "package/lua-coatpersistent/Config.in"
source "package/lua-codegen/Config.in"
source "package/lua-compat53/Config.in"
source "package/lua-conciseserialization/Config.in"
source "package/lua-cqueues/Config.in"
source "package/lua-csnappy/Config.in"
source "package/lua-curl/Config.in"

View File

@ -0,0 +1,6 @@
config BR2_PACKAGE_LUA_CONCISESERIALIZATION
bool "lua-conciseserialization"
help
a pure Lua implementation of CBOR / RFC8949.
https://fperrad.frama.io/lua-ConciseSerialization/

View File

@ -0,0 +1,4 @@
# computed by luarocks/buildroot
sha256 1dd7a5bd17349ad78e93b36f05739e4323a8fda8cd66dee423bdd5a21a0c4453 lua-conciseserialization-0.2.4-1.src.rock
sha256 7988a3ab9ea3d8c536387c4e7931b1703fa02f7011771569ed56641fa1a0c78c lua-conciseserialization-lua53-0.2.4-1.src.rock
sha256 23ddf0d4a4dbc0667eeb919ceb7cc0a5b527af6cb51b286b78fa42f350de2130 lua-ConciseSerialization-0.2.4/COPYRIGHT

View File

@ -0,0 +1,18 @@
################################################################################
#
# lua-conciseserialization
#
################################################################################
LUA_CONCISESERIALIZATION_VERSION_UPSTREAM = 0.2.4
LUA_CONCISESERIALIZATION_VERSION = $(LUA_CONCISESERIALIZATION_VERSION_UPSTREAM)-1
ifeq ($(BR2_PACKAGE_LUA_5_3)$(BR2_PACKAGE_LUA_5_4),y)
LUA_CONCISESERIALIZATION_NAME_UPSTREAM = lua-ConciseSerialization-lua53
else
LUA_CONCISESERIALIZATION_NAME_UPSTREAM = lua-ConciseSerialization
endif
LUA_CONCISESERIALIZATION_SUBDIR = lua-ConciseSerialization-$(LUA_CONCISESERIALIZATION_VERSION_UPSTREAM)
LUA_CONCISESERIALIZATION_LICENSE = MIT
LUA_CONCISESERIALIZATION_LICENSE_FILES = $(LUA_CONCISESERIALIZATION_SUBDIR)/COPYRIGHT
$(eval $(luarocks-package))