kumquat-buildroot/package/luaposix/luaposix.mk
James Hilliard d84f84029b package/luaposix: bump version to 34.0.4
This version has a new dependency on lua-std-normalize.

Signed-off-by: James Hilliard <james.hilliard1@gmail.com>
Acked-by: Francois Perrad <francois.perrad@gadz.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
2018-12-30 15:15:45 +01:00

31 lines
819 B
Makefile

################################################################################
#
# luaposix
#
################################################################################
LUAPOSIX_VERSION = 34.0.4
LUAPOSIX_SITE = $(call github,luaposix,luaposix,v$(LUAPOSIX_VERSION))
LUAPOSIX_LICENSE = MIT
LUAPOSIX_LICENSE_FILES = LICENSE
LUAPOSIX_DEPENDENCIES = luainterpreter host-lua
define LUAPOSIX_BUILD_CMDS
(cd $(@D); \
$(LUA_RUN) build-aux/luke \
CC="$(TARGET_CC)" \
CFLAGS="$(TARGET_CFLAGS)" \
LUA_INCDIR=$(STAGING_DIR)/usr/include \
)
endef
define LUAPOSIX_INSTALL_TARGET_CMDS
(cd $(@D); \
$(LUA_RUN) build-aux/luke install \
INST_LIBDIR="$(TARGET_DIR)/usr/lib/lua/$(LUAINTERPRETER_ABIVER)" \
INST_LUADIR="$(TARGET_DIR)/usr/share/lua/$(LUAINTERPRETER_ABIVER)" \
)
endef
$(eval $(generic-package))