mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-07-27 10:31:38 +08:00
48 lines
1.2 KiB
Makefile
48 lines
1.2 KiB
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=luci-app-nettask
|
|
PKG_VERSION=1.5.2
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/luci-app-nettask
|
|
SECTION:=luci
|
|
CATEGORY:=LuCI
|
|
SUBMENU:=3. Applications
|
|
TITLE:=file transfer tool
|
|
PKGARCH:=all
|
|
endef
|
|
|
|
define Package/luci-app-nettask/description
|
|
Edit the shell script in the web.
|
|
endef
|
|
|
|
define Build/Prepare
|
|
endef
|
|
|
|
define Build/Configure
|
|
endef
|
|
|
|
define Build/Compile
|
|
endef
|
|
|
|
define Package/luci-app-nettask/install
|
|
$(INSTALL_DIR) $(1)/usr/lib/lua/luci/controller/
|
|
$(INSTALL_DIR) $(1)/usr/lib/lua/luci/model/cbi/
|
|
$(INSTALL_DIR) $(1)/etc/config/
|
|
$(INSTALL_DIR) $(1)/etc/init.d/
|
|
$(INSTALL_DIR) $(1)/etc/nettask/
|
|
|
|
$(INSTALL_BIN) ./controller/NetTask.lua $(1)/usr/lib/lua/luci/controller/NetTask.lua
|
|
$(INSTALL_BIN) ./model/nettask.lua $(1)/usr/lib/lua/luci/model/cbi/nettask.lua
|
|
$(INSTALL_CONF) ./etc/config/nettask $(1)/etc/config/nettask
|
|
$(INSTALL_BIN) ./etc/init.d/nettask $(1)/etc/init.d/nettask
|
|
$(INSTALL_DATA) ./etc/nettask/* $(1)/etc/nettask/
|
|
chmod +x $(1)/etc/nettask/*
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,luci-app-nettask))
|