1
1
mirror of https://github.com/OpenVoiceOS/OpenVoiceOS synced 2024-12-19 12:23:03 +01:00
OpenVoiceOS/buildroot-external/package/mycroft-skill-date-time/mycroft-skill-date-time.mk
2021-04-23 16:33:11 +02:00

21 lines
961 B
Makefile

################################################################################
#
# mycroft-skill-date-time
#
################################################################################
MYCROFT_SKILL_DATE_TIME_VERSION = d64f0329a6b6307438b5d59727205753db41ec61
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))