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

21 lines
869 B
Makefile

################################################################################
#
# mycroft-skill-ddg
#
################################################################################
MYCROFT_SKILL_DDG_VERSION = 42753538e8fc15b38aec84bf44ecf1645c8bde95
MYCROFT_SKILL_DDG_SITE = git://github.com/JarbasSkills/skill-ddg
MYCROFT_SKILL_DDG_SITE_METHOD = git
MYCROFT_SKILL_DDG_DIRLOCATION = home/mycroft/.local/share/mycroft/skills
MYCROFT_SKILL_DDG_DIRNAME = skill-ddg.jarbasskills
define MYCROFT_SKILL_DDG_INSTALL_TARGET_CMDS
mkdir -p $(TARGET_DIR)/$(MYCROFT_SKILL_DDG_DIRLOCATION)/$(MYCROFT_SKILL_DDG_DIRNAME)
cp -dpfr $(@D)/* $(TARGET_DIR)/$(MYCROFT_SKILL_DDG_DIRLOCATION)/$(MYCROFT_SKILL_DDG_DIRNAME)
cp -dpfr $(MYCROFT_SKILL_DDG_DL_DIR)/git/.git* \
$(TARGET_DIR)/$(MYCROFT_SKILL_DDG_DIRLOCATION)/$(MYCROFT_SKILL_DDG_DIRNAME)
endef
$(eval $(generic-package))