e08fdf9bb0
LICENSE diff: - Copyright (C) 2006-2019 luaposix authors + Copyright (C) 2006-2020 luaposix authors Signed-off-by: Francois Perrad <francois.perrad@gadz.org> [yann.morin.1998@free.fr: simplify help entry] Signed-off-by: Yann E. MORIN <yann.morin.1998@free.fr>
31 lines
817 B
Makefile
31 lines
817 B
Makefile
################################################################################
|
|
#
|
|
# luaposix
|
|
#
|
|
################################################################################
|
|
|
|
LUAPOSIX_VERSION = 35.0
|
|
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))
|