build: add licensing and release automation

This commit is contained in:
benya
2026-07-23 00:54:29 +03:00
parent 5d6fa00e94
commit 49d2debce6
28 changed files with 2055 additions and 20 deletions
@@ -1,11 +1,13 @@
# SPDX-License-Identifier: MIT
include $(TOPDIR)/rules.mk
PKG_NAME:=rmm-agent-go-production
PKG_VERSION:=0.6.1
PKG_RELEASE:=1
PKG_RELEASE:=2
PKG_MAINTAINER:=RMM OpenWrt
PKG_LICENSE:=MIT
PKG_LICENSE_FILES:=LICENSE
include $(INCLUDE_DIR)/package.mk
@@ -42,6 +44,8 @@ define Package/rmm-agent-go-production/install
$(INSTALL_CONF) ./files/etc/config/rmm-agent $(1)/etc/config/rmm-agent
$(INSTALL_DIR) $(1)/usr/libexec
$(INSTALL_BIN) ./files/usr/libexec/rmm-agent-uci-sync $(1)/usr/libexec/rmm-agent-uci-sync
$(INSTALL_DIR) $(1)/usr/share/licenses/rmm-agent-go-production
$(INSTALL_DATA) ./LICENSE $(1)/usr/share/licenses/rmm-agent-go-production/LICENSE
endef
$(eval $(call BuildPackage,rmm-agent-go-production))