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

21 lines
965 B
Makefile

################################################################################
#
# mycroft-skill-date-time
#
################################################################################
MYCROFT_SKILL_DATE_TIME_VERSION = 7763a6eb8cfe8b873c1a6cff085d16bc3ac04afe
MYCROFT_SKILL_DATE_TIME_SITE = https://github.com/OpenVoiceOS/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.openvoiceos
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))