7c0fd3cd64
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>
19 lines
661 B
Makefile
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))
|