VICTORIAMETRICS_VERSION = 1.78.0 VICTORIAMETRICS_SITE = $(call github,VictoriaMetrics,VictoriaMetrics,v$(VICTORIAMETRICS_VERSION)) VICTORIAMETRICS_LICENSE = Apache-2.0 VICTORIAMETRICS_LICENSE_FILES = LICENSE VICTORIAMETRICS_BUILD_TARGETS = app/victoria-metrics VICTORIAMETRICS_LDFLAGS = -extldflags '-static' VICTORIAMETRICS_TAGS = netgo osusergo nethttpomithttp2 musl VICTORIAMETRICS_INSTALL_BINS = victoria-metrics define VICTORIAMETRICS_INSTALL_INIT_SYSTEMD $(INSTALL) -D -m u=rw,go=r \ $(BR2_EXTERNAL_metricspi_PATH)/package/victoriametrics/victoria-metrics.service \ $(TARGET_DIR)/usr/lib/systemd/system/victoria-metrics.service endef $(eval $(golang-package))