blob: fe6db3184cf4d903b6f205627c49cd0fe57d1148 [file] [log] [blame]
################################################################################
#
# turbolua
#
################################################################################
TURBOLUA_VERSION = 91db237a6690f4a659cbdee2ebbbbc9741d8ea4c
TURBOLUA_SITE = $(call github,kernelsauce,turbo,$(TURBOLUA_VERSION))
TURBOLUA_DEPENDENCIES = luajit
TURBOLUA_LICENSE = Apache-2.0
TURBOLUA_LICENSE_FILES = LICENSE
TURBOLUA_MAKE_OPTS = \
$(TARGET_CONFIGURE_OPTS) \
LUAJIT_VERSION="$(LUAJIT_VERSION)"
ifeq ($(BR2_PACKAGE_OPENSSL),y)
TURBOLUA_MAKE_OPTS += SSL=openssl
TURBOLUA_DEPENDENCIES += openssl
else
TURBOLUA_MAKE_OPTS += SSL=none
endif
define TURBOLUA_BUILD_CMDS
$(MAKE) $(TURBOLUA_MAKE_OPTS) -C $(@D) all
endef
define TURBOLUA_INSTALL_TARGET_CMDS
$(MAKE) $(TURBOLUA_MAKE_OPTS) LDCONFIG=true \
PREFIX="$(TARGET_DIR)/usr" -C $(@D) install
endef
$(eval $(generic-package))