2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2012-09-03 22:58:37 +02:00
|
|
|
#
|
|
|
|
# lua-msgpack-native
|
|
|
|
#
|
2013-06-06 01:53:30 +02:00
|
|
|
################################################################################
|
2013-06-06 01:53:25 +02:00
|
|
|
|
2014-10-26 19:45:24 +01:00
|
|
|
LUA_MSGPACK_NATIVE_VERSION = 41a91b994c70389dc9daa1a15678741d8ec41749
|
2014-01-01 12:11:34 +01:00
|
|
|
LUA_MSGPACK_NATIVE_SITE = $(call github,kengonakajima,lua-msgpack-native,$(LUA_MSGPACK_NATIVE_VERSION))
|
2014-01-11 16:42:03 +01:00
|
|
|
LUA_MSGPACK_NATIVE_DEPENDENCIES = luainterpreter
|
2012-09-03 22:58:37 +02:00
|
|
|
LUA_MSGPACK_NATIVE_LICENSE = Apache-2.0
|
|
|
|
LUA_MSGPACK_NATIVE_LICENSE_FILES = LICENSE.txt
|
|
|
|
|
|
|
|
define LUA_MSGPACK_NATIVE_BUILD_CMDS
|
|
|
|
$(TARGET_CC) $(TARGET_CFLAGS) -fPIC -shared -o $(@D)/msgpack.so $(@D)/mp.c
|
|
|
|
endef
|
|
|
|
|
|
|
|
define LUA_MSGPACK_NATIVE_INSTALL_TARGET_CMDS
|
2014-01-17 18:47:36 +01:00
|
|
|
$(INSTALL) -m 755 -D $(@D)/msgpack.so \
|
|
|
|
$(TARGET_DIR)/usr/lib/lua/$(LUAINTERPRETER_ABIVER)/msgpack.so
|
2012-09-03 22:58:37 +02:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(generic-package))
|