luci-app-serverchan: bump to 1.34-5

This commit is contained in:
CN_SZTL 2020-02-20 02:55:19 +08:00
parent 549aeffd76
commit 90069b1672
No known key found for this signature in database
GPG Key ID: 6850B6345C862176

View File

@ -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