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

21 lines
904 B
Makefile
Raw Normal View History

################################################################################
#
# 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 = opt/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))