kumquat-buildroot/package/lua-messagepack/lua-messagepack.mk
Francois Perrad 7c0fd3cd64 package/lua-messagepack: add support of Lua 5.4
We need to use lua-MessagePack-lua53 for both Lua 5.3 and Lua 5.4.

Signed-off-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2020-08-08 18:26:48 +02:00

19 lines
661 B
Makefile

################################################################################
#
# lua-messagepack
#
################################################################################
LUA_MESSAGEPACK_VERSION_UPSTREAM = 0.5.2
LUA_MESSAGEPACK_VERSION = $(LUA_MESSAGEPACK_VERSION_UPSTREAM)-1
ifeq ($(BR2_PACKAGE_LUA_5_3)$(BR2_PACKAGE_LUA_5_4),y)
LUA_MESSAGEPACK_NAME_UPSTREAM = lua-MessagePack-lua53
else
LUA_MESSAGEPACK_NAME_UPSTREAM = lua-MessagePack
endif
LUA_MESSAGEPACK_SUBDIR = lua-MessagePack-$(LUA_MESSAGEPACK_VERSION_UPSTREAM)
LUA_MESSAGEPACK_LICENSE = MIT
LUA_MESSAGEPACK_LICENSE_FILES = $(LUA_MESSAGEPACK_SUBDIR)/COPYRIGHT
$(eval $(luarocks-package))