mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-10-29 16:45:13 +08:00
🤞 Sync 2026-09-27 22:16:29
This commit is contained in:
1 parent
8ede4a8320
commit
618f51e9dc
459 files changed
+44817
-2191
No files matched your search
+18
-8
@@ -7,39 +7,49 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=quickfile
|
||||
PKG_VERSION:=1.0.25
|
||||
PKG_RELEASE:=11
|
||||
PKG_VERSION:=2.0.1
|
||||
PKG_RELEASE:=12
|
||||
|
||||
PKG_SOURCE:=quickfile-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE:=quickfile-src-$(PKG_VERSION).tar.xz
|
||||
PKG_SOURCE_URL:=https://r2.cooluc.com/source
|
||||
PKG_HASH:=skip
|
||||
PKG_BUILD_DIR:=$(BUILD_DIR)/quickfile-src-$(PKG_VERSION)
|
||||
|
||||
PKG_MAINTAINER:=sbwml <admin@cooluc.com>
|
||||
PKG_LICENSE:=Apache-2.0
|
||||
PKG_LICENSE_FILES:=LICENSE
|
||||
|
||||
PKG_BUILD_DEPENDS:=rust/host
|
||||
PKG_BUILD_PARALLEL:=1
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
include $(TOPDIR)/feeds/packages/lang/rust/rust-package.mk
|
||||
|
||||
define Package/quickfile
|
||||
SECTION:=net
|
||||
CATEGORY:=Network
|
||||
SUBMENU:=Web Servers/Proxies
|
||||
TITLE:=Quick File Manager
|
||||
DEPENDS:=@(arm||aarch64||x86_64)
|
||||
DEPENDS:=$(RUST_ARCH_DEPENDS) +liblzma
|
||||
URL:=https://git.cooluc.com/sbwml/quickfile
|
||||
endef
|
||||
|
||||
define Package/quickfile/description
|
||||
Lightweight web-based file manager for OpenWrt/LuCI with minimal resource usage.
|
||||
A high-performance, lightweight web file manager built with Rust (Axum) and Vue 3,
|
||||
featuring an integrated terminal and multimedia preview, tailored for embeddedsystems
|
||||
and the OpenWrt ecosystem.
|
||||
endef
|
||||
|
||||
define Build/Compile
|
||||
endef
|
||||
CARGO_PKG_VARS += QUICKFILE_VERSION=v$(PKG_VERSION)-r$(PKG_RELEASE)
|
||||
|
||||
define Package/quickfile/install
|
||||
$(INSTALL_DIR) $(1)/usr/bin
|
||||
$(INSTALL_BIN) $(PKG_BUILD_DIR)/quickfile.$(ARCH) $(1)/usr/bin/quickfile
|
||||
$(INSTALL_BIN) $(PKG_INSTALL_DIR)/bin/quickfile $(1)/usr/bin/
|
||||
|
||||
$(INSTALL_DIR) $(1)/etc/init.d $(1)/etc/nginx/conf.d
|
||||
$(INSTALL_BIN) $(CURDIR)/files/quickfile.init $(1)/etc/init.d/quickfile
|
||||
$(INSTALL_CONF) $(CURDIR)/files/quickfile.locations $(1)/etc/nginx/conf.d/quickfile.locations
|
||||
endef
|
||||
|
||||
$(eval $(call RustBinPackage,quickfile))
|
||||
$(eval $(call BuildPackage,quickfile))
|
||||
Reference in new issue
Block a user