From 90069b167254333f842ca7d5320645d4a5b6429d Mon Sep 17 00:00:00 2001 From: CN_SZTL Date: Thu, 20 Feb 2020 02:55:19 +0800 Subject: [PATCH] luci-app-serverchan: bump to 1.34-5 --- package/ctcgfw/luci-app-serverchan/Makefile | 34 +++++++++++++++++---- 1 file changed, 28 insertions(+), 6 deletions(-) diff --git a/package/ctcgfw/luci-app-serverchan/Makefile b/package/ctcgfw/luci-app-serverchan/Makefile index 325934aafd..9a779fd4e6 100644 --- a/package/ctcgfw/luci-app-serverchan/Makefile +++ b/package/ctcgfw/luci-app-serverchan/Makefile @@ -5,13 +5,35 @@ include $(TOPDIR)/rules.mk -LUCI_TITLE:=LuCI support for serverchan -LUCI_DEPENDS:=+iputils-arping +curl -LUCI_PKGARCH:=all PKG_NAME:=luci-app-serverchan PKG_VERSION:=1.34 -PKG_RELEASE:=42 +PKG_RELEASE:=5 -include $(TOPDIR)/feeds/luci/luci.mk +include $(INCLUDE_DIR)/package.mk + +define Package/$(PKG_NAME) + SECTION:=luci + CATEGORY:=LuCI + SUBMENU:=3. Applications + DEPENDS:=+iputils-arping +curl + TITLE:=LuCI support for serverchan + PKGARCH:=all +endef + +define Build/Compile +endef + +define Package/$(PKG_NAME)/conffiles +/etc/config/serverchan +endef + +define Package/$(PKG_NAME)/install + $(INSTALL_DIR) $(1)/etc/init.d $(1)/usr/bin/serverchan $(1)/etc/config $(1)/usr/lib/lua/luci + $(CP) ./luasrc/* $(1)/usr/lib/lua/luci + $(INSTALL_CONF) ./root/etc/config/serverchan $(1)/etc/config + $(INSTALL_BIN) ./root/etc/init.d/serverchan $(1)/etc/init.d + $(INSTALL_BIN) ./root/usr/bin/serverchan/serverchan $(1)/usr/bin/serverchan +endef + +$(eval $(call BuildPackage,$(PKG_NAME))) -# call BuildPackage - OpenWrt buildroot signature