1
1
mirror of https://github.com/OpenVoiceOS/OpenVoiceOS synced 2024-12-12 17:10:33 +01:00
OpenVoiceOS/buildroot-external/package/mycroft-skill-osm/mycroft-skill-osm.mk

21 lines
869 B
Makefile
Raw Normal View History

2021-09-01 19:44:10 +02:00
################################################################################
#
# mycroft-skill-osm
#
################################################################################
MYCROFT_SKILL_OSM_VERSION = eaf8356e48afd6299136fe5b6fdc43665043443a
MYCROFT_SKILL_OSM_SITE = https://github.com/OpenVoiceOS/skill-osm
2021-09-01 19:44:10 +02:00
MYCROFT_SKILL_OSM_SITE_METHOD = git
MYCROFT_SKILL_OSM_DIRLOCATION = home/mycroft/.local/share/mycroft/skills
MYCROFT_SKILL_OSM_DIRNAME = skill-osm.openvoiceos
define MYCROFT_SKILL_OSM_INSTALL_TARGET_CMDS
mkdir -p $(TARGET_DIR)/$(MYCROFT_SKILL_OSM_DIRLOCATION)/$(MYCROFT_SKILL_OSM_DIRNAME)
cp -dpfr $(@D)/* $(TARGET_DIR)/$(MYCROFT_SKILL_OSM_DIRLOCATION)/$(MYCROFT_SKILL_OSM_DIRNAME)
cp -dpfr $(MYCROFT_SKILL_OSM_DL_DIR)/git/.git* \
$(TARGET_DIR)/$(MYCROFT_SKILL_OSM_DIRLOCATION)/$(MYCROFT_SKILL_OSM_DIRNAME)
endef
$(eval $(generic-package))