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

21 lines
931 B
Makefile
Raw Normal View History

2021-05-01 16:16:35 +02:00
################################################################################
#
# mycroft-skill-weather
#
################################################################################
2021-09-21 19:54:53 +02:00
MYCROFT_SKILL_WEATHER_VERSION = a7e8da15954cdda403d40d22a65a7a3cc2abe6d7
MYCROFT_SKILL_WEATHER_SITE = git://github.com/OpenVoiceOS/skill-weather
2021-05-01 16:16:35 +02:00
MYCROFT_SKILL_WEATHER_SITE_METHOD = git
MYCROFT_SKILL_WEATHER_DIRLOCATION = home/mycroft/.local/share/mycroft/skills
MYCROFT_SKILL_WEATHER_DIRNAME = skill-weather.openvoiceos
2021-05-01 16:16:35 +02:00
define MYCROFT_SKILL_WEATHER_INSTALL_TARGET_CMDS
mkdir -p $(TARGET_DIR)/$(MYCROFT_SKILL_WEATHER_DIRLOCATION)/$(MYCROFT_SKILL_WEATHER_DIRNAME)
cp -dpfr $(@D)/* $(TARGET_DIR)/$(MYCROFT_SKILL_WEATHER_DIRLOCATION)/$(MYCROFT_SKILL_WEATHER_DIRNAME)
cp -dpfr $(MYCROFT_SKILL_WEATHER_DL_DIR)/git/.git* \
$(TARGET_DIR)/$(MYCROFT_SKILL_WEATHER_DIRLOCATION)/$(MYCROFT_SKILL_WEATHER_DIRNAME)
endef
$(eval $(generic-package))