⛅ Sync 2026-09-03 23:42:31

This commit is contained in:
github-actions[bot] committed 2026-09-03 23:42:31 +08:00
1 parent 58f9300b4a
commit 92c3e430e5
17 files changed
+395 -22

No files matched your search

+17 -2
View File
@@ -15,7 +15,7 @@ MISE_HASH_aarch64:=06186cfbfe947049b21d58575fb0ea800cc26ed1375f20f4b678cb3a9d679
PKG_NAME:=mise
PKG_VERSION:=2026.9.1
PKG_RELEASE:=5
PKG_RELEASE:=6
PKG_SOURCE:=$(PKG_NAME)-v$(PKG_VERSION)-linux-$(MISE_ARCH)-musl.tar.gz
PKG_SOURCE_URL:=https://github.com/jdx/mise/releases/download/v$(PKG_VERSION)/
PKG_HASH:=skip
@@ -38,6 +38,18 @@ define Package/$(PKG_NAME)/description
mise manages development tool versions, environment variables, and tasks.
endef
define Package/$(PKG_NAME)/conffiles
/etc/config/mise
endef
define Package/$(PKG_NAME)/postinst
#!/bin/sh
if [ -z "$${IPKG_INSTROOT}" ]; then
[ -f /etc/uci-defaults/mise ] && /etc/uci-defaults/mise && rm -f /etc/uci-defaults/mise
exit 0
fi
endef
define Build/Configure
endef
@@ -45,8 +57,11 @@ define Build/Compile
endef
define Package/$(PKG_NAME)/install
$(INSTALL_DIR) $(1)/usr/bin
$(INSTALL_DIR) $(1)/usr/bin $(1)/etc/config $(1)/etc/uci-defaults $(1)/lib/functions
$(INSTALL_BIN) $(PKG_BUILD_DIR)/bin/mise $(1)/usr/bin/mise
$(INSTALL_CONF) ./files/mise.config $(1)/etc/config/mise
$(INSTALL_BIN) ./files/mise.uci-default $(1)/etc/uci-defaults/mise
$(INSTALL_BIN) ./files/istore_runtime.sh $(1)/lib/functions/istore_runtime.sh
endef
$(eval $(call BuildPackage,$(PKG_NAME)))