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

21 lines
926 B
Makefile

################################################################################
#
# mycroft-skill-date-time
#
################################################################################
MYCROFT_SKILL_DATE_TIME_VERSION = 20.08
MYCROFT_SKILL_DATE_TIME_SITE = git://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 = mycroft-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))