mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-30 15:25:13 +08:00
🌴 Sync 2026-03-05 23:51:42
This commit is contained in:
1 parent
97c049ed0a
commit
0acff03804
14253 files changed
+3893239
No files matched your search
Executable
+32
@@ -0,0 +1,32 @@
|
||||
# Copyright (C) 2020-2024 Hyy2001X <https://github.com/Hyy2001X>
|
||||
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=autoupdate
|
||||
PKG_VERSION:=1
|
||||
PKG_RELEASE:=1
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
define Package/$(PKG_NAME)
|
||||
SECTION:=utils
|
||||
CATEGORY:=Utilities
|
||||
TITLE:=Upgrade OpenWrt by one-key
|
||||
DEPENDS:=+bash +jq
|
||||
endef
|
||||
|
||||
define Package/$(PKG_NAME)/description
|
||||
autoupdate - One-key AutoUpdate
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
endef
|
||||
|
||||
define Package/$(PKG_NAME)/install
|
||||
$(INSTALL_DIR) $(1)/bin
|
||||
$(INSTALL_BIN) ./files/bin/autoupdate $(1)/bin
|
||||
$(INSTALL_DIR) $(1)/etc/autoupdate
|
||||
$(CP) ./files/etc/autoupdate/* $(1)/etc/autoupdate
|
||||
endef
|
||||
|
||||
$(eval $(call BuildPackage,$(PKG_NAME)))
|
||||
Reference in new issue
Block a user