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

21 lines
931 B
Makefile

################################################################################
#
# mycroft-skill-naptime
#
################################################################################
MYCROFT_SKILL_NAPTIME_VERSION = c202d5dbeda5714fe3cd0fb746a8f593034e70de
MYCROFT_SKILL_NAPTIME_SITE = git://github.com/OpenVoiceOS/skill-naptime
MYCROFT_SKILL_NAPTIME_SITE_METHOD = git
MYCROFT_SKILL_NAPTIME_DIRLOCATION = home/mycroft/.local/share/mycroft/skills
MYCROFT_SKILL_NAPTIME_DIRNAME = skill-naptime.openvoiceos
define MYCROFT_SKILL_NAPTIME_INSTALL_TARGET_CMDS
mkdir -p $(TARGET_DIR)/$(MYCROFT_SKILL_NAPTIME_DIRLOCATION)/$(MYCROFT_SKILL_NAPTIME_DIRNAME)
cp -dpfr $(@D)/* $(TARGET_DIR)/$(MYCROFT_SKILL_NAPTIME_DIRLOCATION)/$(MYCROFT_SKILL_NAPTIME_DIRNAME)
cp -dpfr $(MYCROFT_SKILL_NAPTIME_DL_DIR)/git/.git* \
$(TARGET_DIR)/$(MYCROFT_SKILL_NAPTIME_DIRLOCATION)/$(MYCROFT_SKILL_NAPTIME_DIRNAME)
endef
$(eval $(generic-package))