1
1
mirror of https://github.com/OpenVoiceOS/OpenVoiceOS synced 2024-12-29 10:11:40 +01:00
OpenVoiceOS/buildroot-external/package/mycroft-skill-camera/mycroft-skill-camera.mk
2022-02-26 18:38:22 +01:00

21 lines
917 B
Makefile

################################################################################
#
# mycroft-skill-camera
#
################################################################################
MYCROFT_SKILL_CAMERA_VERSION = 1b6d108d41eac814cc5e46a7eb3c123791d16668
MYCROFT_SKILL_CAMERA_SITE = https://github.com/OpenVoiceOS/skill-camera
MYCROFT_SKILL_CAMERA_SITE_METHOD = git
MYCROFT_SKILL_CAMERA_DIRLOCATION = home/mycroft/.local/share/mycroft/skills
MYCROFT_SKILL_CAMERA_DIRNAME = skill-camera.openvoiceos
define MYCROFT_SKILL_CAMERA_INSTALL_TARGET_CMDS
mkdir -p $(TARGET_DIR)/$(MYCROFT_SKILL_CAMERA_DIRLOCATION)/$(MYCROFT_SKILL_CAMERA_DIRNAME)
cp -dpfr $(@D)/* $(TARGET_DIR)/$(MYCROFT_SKILL_CAMERA_DIRLOCATION)/$(MYCROFT_SKILL_CAMERA_DIRNAME)
cp -dpfr $(MYCROFT_SKILL_CAMERA_DL_DIR)/git/.git* \
$(TARGET_DIR)/$(MYCROFT_SKILL_CAMERA_DIRLOCATION)/$(MYCROFT_SKILL_CAMERA_DIRNAME)
endef
$(eval $(generic-package))