mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-07-27 18:41:15 +08:00
46 lines
1.1 KiB
Makefile
46 lines
1.1 KiB
Makefile
#
|
|
# Copyright (C) 2015-2016 OpenWrt.org
|
|
#
|
|
# This is free software, licensed under the GNU General Public License v3.
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=quickfile
|
|
PKG_VERSION:=1.0.25
|
|
PKG_RELEASE:=10
|
|
|
|
PKG_SOURCE:=quickfile-$(PKG_VERSION).tar.gz
|
|
PKG_SOURCE_URL:=https://r2.cooluc.com/source
|
|
PKG_HASH:=skip
|
|
|
|
PKG_MAINTAINER:=sbwml <admin@cooluc.com>
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/quickfile
|
|
SECTION:=net
|
|
CATEGORY:=Network
|
|
SUBMENU:=Web Servers/Proxies
|
|
TITLE:=Quick File Manager
|
|
DEPENDS:=@(arm||aarch64||x86_64)
|
|
URL:=https://git.cooluc.com/sbwml/quickfile
|
|
endef
|
|
|
|
define Package/quickfile/description
|
|
Lightweight web-based file manager for OpenWrt/LuCI with minimal resource usage.
|
|
endef
|
|
|
|
define Build/Compile
|
|
endef
|
|
|
|
define Package/quickfile/install
|
|
$(INSTALL_DIR) $(1)/usr/bin
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/quickfile.$(ARCH) $(1)/usr/bin/quickfile
|
|
$(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 BuildPackage,quickfile))
|