2021-06-07 12:34:26 +02:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# mycroft-skill-installer
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
MYCROFT_SKILL_INSTALLER_VERSION = cea3b98808aee400ece730dbdcd8957368d50983
|
2022-01-19 15:50:19 +01:00
|
|
|
MYCROFT_SKILL_INSTALLER_SITE = https://github.com/MycroftAI/skill-installer
|
2021-06-07 12:34:26 +02:00
|
|
|
MYCROFT_SKILL_INSTALLER_SITE_METHOD = git
|
|
|
|
MYCROFT_SKILL_INSTALLER_DIRLOCATION = home/mycroft/.local/share/mycroft/skills
|
2021-06-09 14:01:55 +02:00
|
|
|
MYCROFT_SKILL_INSTALLER_DIRNAME = skill-installer.mycroftai
|
2021-06-07 12:34:26 +02:00
|
|
|
|
|
|
|
define MYCROFT_SKILL_INSTALLER_INSTALL_TARGET_CMDS
|
|
|
|
mkdir -p $(TARGET_DIR)/$(MYCROFT_SKILL_INSTALLER_DIRLOCATION)/$(MYCROFT_SKILL_INSTALLER_DIRNAME)
|
|
|
|
cp -dpfr $(@D)/* $(TARGET_DIR)/$(MYCROFT_SKILL_INSTALLER_DIRLOCATION)/$(MYCROFT_SKILL_INSTALLER_DIRNAME)
|
|
|
|
cp -dpfr $(MYCROFT_SKILL_INSTALLER_DL_DIR)/git/.git* \
|
|
|
|
$(TARGET_DIR)/$(MYCROFT_SKILL_INSTALLER_DIRLOCATION)/$(MYCROFT_SKILL_INSTALLER_DIRNAME)
|
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(generic-package))
|