1 ################################################################################
5 ################################################################################
7 TURBOLUA_VERSION
= v2.1
.0
8 TURBOLUA_SITE
= $(call github
,kernelsauce
,turbo
,$(TURBOLUA_VERSION
))
9 TURBOLUA_DEPENDENCIES
= luajit
10 TURBOLUA_LICENSE
= Apache-2.0
11 TURBOLUA_LICENSE_FILES
= LICENSE
13 TURBOLUA_MAKE_OPTS
= \
14 $(TARGET_CONFIGURE_OPTS
) \
15 LUAJIT_VERSION
="$(LUAJIT_VERSION)"
17 ifeq ($(BR2_PACKAGE_OPENSSL
),y
)
18 TURBOLUA_MAKE_OPTS
+= SSL
=openssl
19 TURBOLUA_DEPENDENCIES
+= openssl
21 TURBOLUA_MAKE_OPTS
+= SSL
=none
24 define TURBOLUA_BUILD_CMDS
25 $(TARGET_MAKE_ENV
) $(MAKE
) $(TURBOLUA_MAKE_OPTS
) -C
$(@D
) all
28 define TURBOLUA_INSTALL_TARGET_CMDS
29 $(TARGET_MAKE_ENV
) $(MAKE
) $(TURBOLUA_MAKE_OPTS
) LDCONFIG
=true \
30 PREFIX
="$(TARGET_DIR)/usr" -C
$(@D
) install
33 $(eval
$(generic-package
))