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

21 lines
869 B
Makefile
Raw Normal View History

################################################################################
#
# mycroft-skill-ddg
#
################################################################################
MYCROFT_SKILL_DDG_VERSION = c58f55ca45a48bb7ef44a61113fe3b144ef8f55a
MYCROFT_SKILL_DDG_SITE = https://github.com/NeonJarbas/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))