OpenVoiceOS/buildroot-external/package/mycroft-skill-timer/mycroft-skill-timer.mk

21 lines
899 B
Makefile
Raw Normal View History

################################################################################
#
# mycroft-skill-timer
#
################################################################################
MYCROFT_SKILL_TIMER_VERSION = 9d0a39bd28d25122fd346d80d585cb78f5d2f647
MYCROFT_SKILL_TIMER_SITE = git://github.com/MycroftAI/mycroft-timer
MYCROFT_SKILL_TIMER_SITE_METHOD = git
MYCROFT_SKILL_TIMER_DIRLOCATION = home/mycroft/.local/share/mycroft/skills
MYCROFT_SKILL_TIMER_DIRNAME = mycroft-timer.mycroftai
define MYCROFT_SKILL_TIMER_INSTALL_TARGET_CMDS
mkdir -p $(TARGET_DIR)/$(MYCROFT_SKILL_TIMER_DIRLOCATION)/$(MYCROFT_SKILL_TIMER_DIRNAME)
cp -dpfr $(@D)/* $(TARGET_DIR)/$(MYCROFT_SKILL_TIMER_DIRLOCATION)/$(MYCROFT_SKILL_TIMER_DIRNAME)
cp -dpfr $(MYCROFT_SKILL_TIMER_DL_DIR)/git/.git* \
$(TARGET_DIR)/$(MYCROFT_SKILL_TIMER_DIRLOCATION)/$(MYCROFT_SKILL_TIMER_DIRNAME)
endef
$(eval $(generic-package))