OpenVoiceOS/buildroot-external/package/mycroft-skill-ovos-settings/mycroft-skill-ovos-settings.mk

21 lines
1.0 KiB
Makefile
Raw Normal View History

2022-02-09 16:04:50 +01:00
################################################################################
#
# mycroft-skill-ovos-settings
#
################################################################################
2022-02-26 16:47:09 +01:00
MYCROFT_SKILL_OVOS_SETTINGS_VERSION = aa25d3424d49efe193233eb1b1f3f83b813f7f8b
2022-02-09 16:04:50 +01:00
MYCROFT_SKILL_OVOS_SETTINGS_SITE = https://github.com/OpenVoiceOS/skill-ovos-settings
MYCROFT_SKILL_OVOS_SETTINGS_SITE_METHOD = git
MYCROFT_SKILL_OVOS_SETTINGS_DIRLOCATION = home/mycroft/.local/share/mycroft/skills
MYCROFT_SKILL_OVOS_SETTINGS_DIRNAME = skill-ovos-settings.openvoiceos
define MYCROFT_SKILL_OVOS_SETTINGS_INSTALL_TARGET_CMDS
mkdir -p $(TARGET_DIR)/$(MYCROFT_SKILL_OVOS_SETTINGS_DIRLOCATION)/$(MYCROFT_SKILL_OVOS_SETTINGS_DIRNAME)
cp -dpfr $(@D)/* $(TARGET_DIR)/$(MYCROFT_SKILL_OVOS_SETTINGS_DIRLOCATION)/$(MYCROFT_SKILL_OVOS_SETTINGS_DIRNAME)
cp -dpfr $(MYCROFT_SKILL_OVOS_SETTINGS_DL_DIR)/git/.git* \
$(TARGET_DIR)/$(MYCROFT_SKILL_OVOS_SETTINGS_DIRLOCATION)/$(MYCROFT_SKILL_OVOS_SETTINGS_DIRNAME)
endef
$(eval $(generic-package))