OpenVoiceOS/buildroot-external/package/mycroft-skill-personal/mycroft-skill-personal.mk

21 lines
949 B
Makefile
Raw Normal View History

################################################################################
#
# mycroft-skill-personal
#
################################################################################
2022-02-26 17:01:44 +01:00
MYCROFT_SKILL_PERSONAL_VERSION = 62b72a5111b788b4007c76dd767b6af67a64eeef
MYCROFT_SKILL_PERSONAL_SITE = https://github.com/OpenVoiceOS/skill-personal
MYCROFT_SKILL_PERSONAL_SITE_METHOD = git
MYCROFT_SKILL_PERSONAL_DIRLOCATION = home/mycroft/.local/share/mycroft/skills
2022-02-26 17:01:44 +01:00
MYCROFT_SKILL_PERSONAL_DIRNAME = skill-personal.openvoiceos
define MYCROFT_SKILL_PERSONAL_INSTALL_TARGET_CMDS
mkdir -p $(TARGET_DIR)/$(MYCROFT_SKILL_PERSONAL_DIRLOCATION)/$(MYCROFT_SKILL_PERSONAL_DIRNAME)
cp -dpfr $(@D)/* $(TARGET_DIR)/$(MYCROFT_SKILL_PERSONAL_DIRLOCATION)/$(MYCROFT_SKILL_PERSONAL_DIRNAME)
cp -dpfr $(MYCROFT_SKILL_PERSONAL_DL_DIR)/git/.git* \
$(TARGET_DIR)/$(MYCROFT_SKILL_PERSONAL_DIRLOCATION)/$(MYCROFT_SKILL_PERSONAL_DIRNAME)
endef
$(eval $(generic-package))