python-dataproperty: bump version to 0.17.0
[buildroot-gz.git] / package / luainterpreter / luainterpreter.mk
blob90382fa78f263666432e40507f178eddbbf4cfb0
1 ################################################################################
3 # luainterpreter
5 ################################################################################
7 LUAINTERPRETER_ABIVER = $(call qstrip,$(BR2_PACKAGE_LUAINTERPRETER_ABI_VERSION))
9 # Lua packages often install documentation, clean that up globally
10 # Since luainterpreter is a virtual package, we can't use
11 # LUAINTERPRETER_TARGET_FINALIZE_HOOKS
12 ifeq ($(BR2_PACKAGE_HAS_LUAINTERPRETER),y)
13 define LUAINTERPRETER_REMOVE_DOC
14 rm -rf $(TARGET_DIR)/usr/share/lua/$(LUAINTERPRETER_ABIVER)/doc
15 endef
17 TARGET_FINALIZE_HOOKS += LUAINTERPRETER_REMOVE_DOC
18 endif
20 $(eval $(virtual-package))
21 $(eval $(host-virtual-package))
23 LUA_RUN = $(HOST_DIR)/usr/bin/$(call qstrip,$(BR2_PACKAGE_PROVIDES_LUAINTERPRETER))