kumquat-buildroot/package/turbolua/turbolua.mk
Wojciech Niziński 81ea69036e package/turbolua: bump version to v2.1.0
Signed-off-by: Wojciech Nizinski <niziak@spox.org>
[Thomas: use the v2.1.0 tag rather than a full commit sha1.]
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
2017-02-23 22:18:22 +01:00

34 lines
877 B
Makefile

################################################################################
#
# turbolua
#
################################################################################
TURBOLUA_VERSION = v2.1.0
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
$(TARGET_MAKE_ENV) $(MAKE) $(TURBOLUA_MAKE_OPTS) -C $(@D) all
endef
define TURBOLUA_INSTALL_TARGET_CMDS
$(TARGET_MAKE_ENV) $(MAKE) $(TURBOLUA_MAKE_OPTS) LDCONFIG=true \
PREFIX="$(TARGET_DIR)/usr" -C $(@D) install
endef
$(eval $(generic-package))