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

21 lines
885 B
Makefile
Raw Normal View History

2021-06-09 20:50:27 +02:00
################################################################################
#
# mycroft-skill-news
#
################################################################################
2021-08-19 11:39:20 +02:00
MYCROFT_SKILL_NEWS_VERSION = 4503ac4741326b38902c26a62c3a68ef2fad87ef
2021-06-09 20:50:27 +02:00
MYCROFT_SKILL_NEWS_SITE = git://github.com/JarbasSkills/skill-news
MYCROFT_SKILL_NEWS_SITE_METHOD = git
MYCROFT_SKILL_NEWS_DIRLOCATION = home/mycroft/.local/share/mycroft/skills
MYCROFT_SKILL_NEWS_DIRNAME = skill-news.jarbasskills
define MYCROFT_SKILL_NEWS_INSTALL_TARGET_CMDS
mkdir -p $(TARGET_DIR)/$(MYCROFT_SKILL_NEWS_DIRLOCATION)/$(MYCROFT_SKILL_NEWS_DIRNAME)
cp -dpfr $(@D)/* $(TARGET_DIR)/$(MYCROFT_SKILL_NEWS_DIRLOCATION)/$(MYCROFT_SKILL_NEWS_DIRNAME)
cp -dpfr $(MYCROFT_SKILL_NEWS_DL_DIR)/git/.git* \
$(TARGET_DIR)/$(MYCROFT_SKILL_NEWS_DIRLOCATION)/$(MYCROFT_SKILL_NEWS_DIRNAME)
endef
$(eval $(generic-package))