OpenVoiceOS/buildroot-external/package/mycroft-skill-ovos-volume/mycroft-skill-ovos-volume.mk

21 lines
997 B
Makefile
Raw Normal View History

################################################################################
#
# mycroft-skill-ovos-volume
#
################################################################################
2022-02-26 16:48:58 +01:00
MYCROFT_SKILL_OVOS_VOLUME_VERSION = 826905f7dcd68c3bcbdd2249e4350b1e0d9fe6b1
MYCROFT_SKILL_OVOS_VOLUME_SITE = https://github.com/OpenVoiceOS/skill-ovos-volume
MYCROFT_SKILL_OVOS_VOLUME_SITE_METHOD = git
MYCROFT_SKILL_OVOS_VOLUME_DIRLOCATION = home/mycroft/.local/share/mycroft/skills
MYCROFT_SKILL_OVOS_VOLUME_DIRNAME = skill-ovos-volume.openvoiceos
define MYCROFT_SKILL_OVOS_VOLUME_INSTALL_TARGET_CMDS
mkdir -p $(TARGET_DIR)/$(MYCROFT_SKILL_OVOS_VOLUME_DIRLOCATION)/$(MYCROFT_SKILL_OVOS_VOLUME_DIRNAME)
cp -dpfr $(@D)/* $(TARGET_DIR)/$(MYCROFT_SKILL_OVOS_VOLUME_DIRLOCATION)/$(MYCROFT_SKILL_OVOS_VOLUME_DIRNAME)
cp -dpfr $(MYCROFT_SKILL_OVOS_VOLUME_DL_DIR)/git/.git* \
$(TARGET_DIR)/$(MYCROFT_SKILL_OVOS_VOLUME_DIRLOCATION)/$(MYCROFT_SKILL_OVOS_VOLUME_DIRNAME)
endef
$(eval $(generic-package))