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

21 lines
917 B
Makefile
Raw Normal View History

2021-08-10 17:01:25 +02:00
################################################################################
#
# mycroft-skill-camera
#
################################################################################
2022-03-15 20:43:30 +01:00
MYCROFT_SKILL_CAMERA_VERSION = f7409e01f0b4e05e12e18e989dfdd1ae5dea099d
MYCROFT_SKILL_CAMERA_SITE = https://github.com/OpenVoiceOS/skill-camera
2021-08-10 17:01:25 +02:00
MYCROFT_SKILL_CAMERA_SITE_METHOD = git
MYCROFT_SKILL_CAMERA_DIRLOCATION = home/mycroft/.local/share/mycroft/skills
2021-09-23 15:07:49 +02:00
MYCROFT_SKILL_CAMERA_DIRNAME = skill-camera.openvoiceos
2021-08-10 17:01:25 +02:00
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))