OpenVoiceOS/buildroot-external/package/mycroft-skill-date-time/mycroft-skill-date-time.mk

21 lines
961 B
Makefile
Raw Normal View History

################################################################################
#
# mycroft-skill-date-time
#
################################################################################
2021-09-05 17:50:34 +02:00
MYCROFT_SKILL_DATE_TIME_VERSION = 62dcf10169a72af83cde9cf8daa0887c0a38c459
MYCROFT_SKILL_DATE_TIME_SITE = https://github.com/MycroftAI/skill-date-time
MYCROFT_SKILL_DATE_TIME_SITE_METHOD = git
MYCROFT_SKILL_DATE_TIME_DIRLOCATION = home/mycroft/.local/share/mycroft/skills
MYCROFT_SKILL_DATE_TIME_DIRNAME = skill-date-time.mycroftai
define MYCROFT_SKILL_DATE_TIME_INSTALL_TARGET_CMDS
mkdir -p $(TARGET_DIR)/$(MYCROFT_SKILL_DATE_TIME_DIRLOCATION)/$(MYCROFT_SKILL_DATE_TIME_DIRNAME)
cp -dpfr $(@D)/* $(TARGET_DIR)/$(MYCROFT_SKILL_DATE_TIME_DIRLOCATION)/$(MYCROFT_SKILL_DATE_TIME_DIRNAME)
cp -dpfr $(MYCROFT_SKILL_DATE_TIME_DL_DIR)/git/.git* \
$(TARGET_DIR)/$(MYCROFT_SKILL_DATE_TIME_DIRLOCATION)/$(MYCROFT_SKILL_DATE_TIME_DIRNAME)
endef
$(eval $(generic-package))