OpenVoiceOS/buildroot-external/package/mycroft-skill-simple-youtube/mycroft-skill-simple-youtub...

21 lines
1.0 KiB
Makefile
Raw Normal View History

2021-08-10 17:14:41 +02:00
################################################################################
#
# mycroft-skill-simple-youtube
#
################################################################################
2021-08-16 14:08:13 +02:00
MYCROFT_SKILL_SIMPLE_YOUTUBE_VERSION = 5c62b78da07d6912ab0c5a0b57d8ae235473d641
2021-08-10 17:14:41 +02:00
MYCROFT_SKILL_SIMPLE_YOUTUBE_SITE = git://github.com/JarbasSkills/skill-simple-youtube
MYCROFT_SKILL_SIMPLE_YOUTUBE_SITE_METHOD = git
MYCROFT_SKILL_SIMPLE_YOUTUBE_DIRLOCATION = home/mycroft/.local/share/mycroft/skills
MYCROFT_SKILL_SIMPLE_YOUTUBE_DIRNAME = skill-simple-youtube.jarbasskills
define MYCROFT_SKILL_SIMPLE_YOUTUBE_INSTALL_TARGET_CMDS
mkdir -p $(TARGET_DIR)/$(MYCROFT_SKILL_SIMPLE_YOUTUBE_DIRLOCATION)/$(MYCROFT_SKILL_SIMPLE_YOUTUBE_DIRNAME)
cp -dpfr $(@D)/* $(TARGET_DIR)/$(MYCROFT_SKILL_SIMPLE_YOUTUBE_DIRLOCATION)/$(MYCROFT_SKILL_SIMPLE_YOUTUBE_DIRNAME)
cp -dpfr $(MYCROFT_SKILL_SIMPLE_YOUTUBE_DL_DIR)/git/.git* \
$(TARGET_DIR)/$(MYCROFT_SKILL_SIMPLE_YOUTUBE_DIRLOCATION)/$(MYCROFT_SKILL_SIMPLE_YOUTUBE_DIRNAME)
endef
$(eval $(generic-package))