open-plc-utils: new package
[buildroot-gz.git] / package / lua-msgpack-native / lua-msgpack-native.mk
blobacd3a0e1c95caea747f875244d8a62c47d502452
1 ################################################################################
3 # lua-msgpack-native
5 ################################################################################
7 LUA_MSGPACK_NATIVE_VERSION = 41a91b994c70389dc9daa1a15678741d8ec41749
8 LUA_MSGPACK_NATIVE_SITE = $(call github,kengonakajima,lua-msgpack-native,$(LUA_MSGPACK_NATIVE_VERSION))
9 LUA_MSGPACK_NATIVE_DEPENDENCIES = luainterpreter
10 LUA_MSGPACK_NATIVE_LICENSE = Apache-2.0
11 LUA_MSGPACK_NATIVE_LICENSE_FILES = LICENSE.txt
13 define LUA_MSGPACK_NATIVE_BUILD_CMDS
14 $(TARGET_CC) $(TARGET_CFLAGS) -fPIC -shared -o $(@D)/msgpack.so $(@D)/mp.c
15 endef
17 define LUA_MSGPACK_NATIVE_INSTALL_TARGET_CMDS
18 $(INSTALL) -m 755 -D $(@D)/msgpack.so \
19 $(TARGET_DIR)/usr/lib/lua/$(LUAINTERPRETER_ABIVER)/msgpack.so
20 endef
22 $(eval $(generic-package))