feat: 预制 clash_meta v1.19.28 内核(不刷机后下载)
This commit is contained in:
parent
8a5a616718
commit
aa4f5c68e4
42
package/diy/clash-meta-core/Makefile
Normal file
42
package/diy/clash-meta-core/Makefile
Normal file
@ -0,0 +1,42 @@
|
||||
#
|
||||
# Copyright (C) 2024 MapleOS
|
||||
#
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=clash-meta-core
|
||||
PKG_VERSION:=1.19.28
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/clash-meta-core
|
||||
SECTION:=net
|
||||
CATEGORY:=Network
|
||||
TITLE:=Clash Meta core (mihomo) for OpenClash
|
||||
URL:=https://github.com/MetaCubeX/mihomo
|
||||
DEPENDS:=+luci-app-openclash
|
||||
PKGARCH:=aarch64_generic
|
||||
endef
|
||||
|
||||
define Package/clash-meta-core/description
|
||||
Pre-built mihomo (Clash Meta) ARM64 kernel for OpenClash.
|
||||
Installed to /etc/openclash/core/clash_meta so it survives firmware reflash.
|
||||
endef
|
||||
|
||||
define Build/Prepare
|
||||
endef
|
||||
|
||||
define Build/Configure
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
endef
|
||||
|
||||
define Package/clash-meta-core/install
|
||||
$(INSTALL_DIR) $(1)/etc/openclash/core
|
||||
$(INSTALL_BIN) ./files/etc/openclash/core/clash_meta $(1)/etc/openclash/core/clash_meta
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,clash-meta-core))
|
||||
BIN
package/diy/clash-meta-core/files/etc/openclash/core/clash_meta
Executable file
BIN
package/diy/clash-meta-core/files/etc/openclash/core/clash_meta
Executable file
Binary file not shown.
@ -121,6 +121,7 @@ CONFIG_PACKAGE_luci-app-aria2=y
|
||||
CONFIG_PACKAGE_luci-app-dockerman=y
|
||||
CONFIG_PACKAGE_luci-app-frpc=y
|
||||
CONFIG_PACKAGE_luci-app-openclash=y
|
||||
CONFIG_PACKAGE_clash-meta-core=y
|
||||
# CONFIG_PACKAGE_luci-app-transmission is not set
|
||||
CONFIG_PACKAGE_luci-app-ttyd=y
|
||||
CONFIG_PACKAGE_luci-app-upnp=y
|
||||
|
||||
Loading…
Reference in New Issue
Block a user