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

21 lines
981 B
Makefile
Raw Normal View History

2021-08-12 16:38:16 +02:00
################################################################################
#
# mycroft-skill-ovos-setup
#
################################################################################
2022-06-01 16:47:51 +02:00
MYCROFT_SKILL_OVOS_SETUP_VERSION = 36e8e42612b9c9b1e04b26a1385aca797edcd910
MYCROFT_SKILL_OVOS_SETUP_SITE = https://github.com/OpenVoiceOS/skill-ovos-setup
2021-08-12 16:38:16 +02:00
MYCROFT_SKILL_OVOS_SETUP_SITE_METHOD = git
MYCROFT_SKILL_OVOS_SETUP_DIRLOCATION = home/mycroft/.local/share/mycroft/skills
MYCROFT_SKILL_OVOS_SETUP_DIRNAME = skill-ovos-setup.openvoiceos
define MYCROFT_SKILL_OVOS_SETUP_INSTALL_TARGET_CMDS
mkdir -p $(TARGET_DIR)/$(MYCROFT_SKILL_OVOS_SETUP_DIRLOCATION)/$(MYCROFT_SKILL_OVOS_SETUP_DIRNAME)
cp -dpfr $(@D)/* $(TARGET_DIR)/$(MYCROFT_SKILL_OVOS_SETUP_DIRLOCATION)/$(MYCROFT_SKILL_OVOS_SETUP_DIRNAME)
cp -dpfr $(MYCROFT_SKILL_OVOS_SETUP_DL_DIR)/git/.git* \
$(TARGET_DIR)/$(MYCROFT_SKILL_OVOS_SETUP_DIRLOCATION)/$(MYCROFT_SKILL_OVOS_SETUP_DIRNAME)
endef
$(eval $(generic-package))