2021-06-07 12:25:38 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# mycroft-skill-configuration
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
MYCROFT_SKILL_CONFIGURATION_VERSION = 9231778e959c65a4f8156923fb26d11483d72ea0
|
|
|
|
MYCROFT_SKILL_CONFIGURATION_SITE = git://github.com/MycroftAI/skill-configuration
|
|
|
|
MYCROFT_SKILL_CONFIGURATION_SITE_METHOD = git
|
|
|
|
MYCROFT_SKILL_CONFIGURATION_DIRLOCATION = home/mycroft/.local/share/mycroft/skills
|
2021-06-09 14:01:55 +02:00
|
|
|
MYCROFT_SKILL_CONFIGURATION_DIRNAME = skill-configuration.mycroftai
|
2021-06-07 12:25:38 +02:00
|
|
|
|
|
|
|
define MYCROFT_SKILL_CONFIGURATION_INSTALL_TARGET_CMDS
|
|
|
|
mkdir -p $(TARGET_DIR)/$(MYCROFT_SKILL_CONFIGURATION_DIRLOCATION)/$(MYCROFT_SKILL_CONFIGURATION_DIRNAME)
|
|
|
|
cp -dpfr $(@D)/* $(TARGET_DIR)/$(MYCROFT_SKILL_CONFIGURATION_DIRLOCATION)/$(MYCROFT_SKILL_CONFIGURATION_DIRNAME)
|
|
|
|
cp -dpfr $(MYCROFT_SKILL_CONFIGURATION_DL_DIR)/git/.git* \
|
|
|
|
$(TARGET_DIR)/$(MYCROFT_SKILL_CONFIGURATION_DIRLOCATION)/$(MYCROFT_SKILL_CONFIGURATION_DIRNAME)
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(generic-package))
|