2021-01-27 22:45:35 +01:00
|
|
|
################################################################################
|
|
|
|
#
|
|
|
|
# mycroft-skills-repo
|
|
|
|
#
|
|
|
|
################################################################################
|
|
|
|
|
|
|
|
MYCROFT_SKILLS_REPO_VERSION = 20.08
|
|
|
|
MYCROFT_SKILLS_REPO_SITE = git://github.com/MycroftAI/mycroft-skills
|
|
|
|
MYCROFT_SKILLS_REPO_SITE_METHOD = git
|
|
|
|
#MYCROFT_SKILLS_REPO_GIT_SUBMODULES = yes
|
2021-04-05 16:03:41 +02:00
|
|
|
MYCROFT_SKILLS_REPO_DIRLOCATION = home/mycroft/.local/share/mycroft
|
2021-04-05 17:01:50 +02:00
|
|
|
MYCROFT_SKILLS_REPO_DIRNAME = skills-repo
|
2021-01-27 22:45:35 +01:00
|
|
|
|
|
|
|
define MYCROFT_SKILLS_REPO_INSTALL_TARGET_CMDS
|
|
|
|
mkdir -p $(TARGET_DIR)/$(MYCROFT_SKILLS_REPO_DIRLOCATION)/$(MYCROFT_SKILLS_REPO_DIRNAME)
|
|
|
|
cp -dpfr $(@D)/* $(TARGET_DIR)/$(MYCROFT_SKILLS_REPO_DIRLOCATION)/$(MYCROFT_SKILLS_REPO_DIRNAME)
|
|
|
|
cp -dpfr $(MYCROFT_SKILLS_REPO_DL_DIR)/git/* \
|
2021-01-28 09:42:54 +01:00
|
|
|
$(TARGET_DIR)/$(MYCROFT_SKILLS_REPO_DIRLOCATION)/$(MYCROFT_SKILLS_REPO_DIRNAME)/
|
|
|
|
cp -dpfr $(MYCROFT_SKILLS_REPO_DL_DIR)/git/.git* \
|
|
|
|
$(TARGET_DIR)/$(MYCROFT_SKILLS_REPO_DIRLOCATION)/$(MYCROFT_SKILLS_REPO_DIRNAME)/
|
2021-01-27 22:45:35 +01:00
|
|
|
endef
|
|
|
|
|
|
|
|
$(eval $(generic-package))
|