mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-08-07 23:43:41 +08:00

luci-app-pushbot跟-luci-app-serverchan不同点如下: 实现了 IOS-bark的通知推送 通知栏:直接显示推送主题,一目了然,按设备不同,分组显示 消息列表:直接显示最新推送的标题 消息内容:直接显示所有推送信息,不用二次点开再查看
41 lines
1.2 KiB
Makefile
41 lines
1.2 KiB
Makefile
# Copyright (C) 2020 Openwrt.org
|
|
#
|
|
# This is free software, licensed under the Apache License, Version 2.0 .
|
|
#
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=luci-app-pushbot
|
|
PKG_VERSION:=3.12
|
|
PKG_RELEASE:=9
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/$(PKG_NAME)
|
|
SECTION:=luci
|
|
CATEGORY:=LuCI
|
|
SUBMENU:=3. Applications
|
|
DEPENDS:=+iputils-arping +curl
|
|
TITLE:=LuCI support for Pushbot
|
|
PKGARCH:=all
|
|
endef
|
|
|
|
define Build/Compile
|
|
endef
|
|
|
|
define Package/$(PKG_NAME)/conffiles
|
|
/etc/config/pushbot
|
|
endef
|
|
|
|
define Package/$(PKG_NAME)/install
|
|
$(INSTALL_DIR) $(1)/etc/init.d $(1)/usr/bin/pushbot $(1)/etc/config $(1)/usr/lib/lua/luci $(1)/etc/uci-defaults $(1)/usr/share/rpcd/acl.d
|
|
$(CP) ./luasrc/* $(1)/usr/lib/lua/luci
|
|
$(INSTALL_CONF) ./root/etc/config/pushbot $(1)/etc/config
|
|
$(INSTALL_BIN) ./root/etc/init.d/pushbot $(1)/etc/init.d
|
|
$(INSTALL_BIN) ./root/etc/uci-defaults/luci-pushbot $(1)/etc/uci-defaults/luci-pushbot
|
|
$(INSTALL_BIN) ./root/usr/bin/pushbot/pushbot $(1)/usr/bin/pushbot
|
|
$(INSTALL_DATA) ./root/usr/share/rpcd/acl.d/luci-app-pushbot.json $(1)/usr/share/rpcd/acl.d/luci-app-pushbot.json
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,$(PKG_NAME)))
|