python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / turbolua / turbolua.mk
blob49877fab68b946aaab6e1399d1c5c42da048550a
1 ################################################################################
3 # turbolua
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
20 else
21 TURBOLUA_MAKE_OPTS += SSL=none
22 endif
24 define TURBOLUA_BUILD_CMDS
25 $(TARGET_MAKE_ENV) $(MAKE) $(TURBOLUA_MAKE_OPTS) -C $(@D) all
26 endef
28 define TURBOLUA_INSTALL_TARGET_CMDS
29 $(TARGET_MAKE_ENV) $(MAKE) $(TURBOLUA_MAKE_OPTS) LDCONFIG=true \
30 PREFIX="$(TARGET_DIR)/usr" -C $(@D) install
31 endef
33 $(eval $(generic-package))