2014-01-29 16:17:49 +00:00
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=gluon-status-page
|
2018-02-26 00:35:11 +00:00
|
|
|
PKG_VERSION:=3
|
2014-01-29 16:17:49 +00:00
|
|
|
|
2018-03-08 18:49:41 +00:00
|
|
|
include ../gluon.mk
|
2014-01-29 16:17:49 +00:00
|
|
|
|
|
|
|
define Package/gluon-status-page
|
2018-02-26 00:35:11 +00:00
|
|
|
TITLE:=Status page showing information about the node
|
2018-04-13 18:44:52 +00:00
|
|
|
DEPENDS:=+gluon-web +gluon-neighbour-info +gluon-respondd +uhttpd +sse-multiplex +libiwinfo +libjson-c +libnl-tiny +libubus-lua
|
2014-01-29 16:17:49 +00:00
|
|
|
endef
|
|
|
|
|
2020-05-12 22:45:06 +00:00
|
|
|
PKG_CONFIG_DEPENDS += CONFIG_GLUON_MINIFY
|
|
|
|
|
2014-01-29 16:17:49 +00:00
|
|
|
define Package/gluon-status-page/install
|
2018-03-08 18:49:41 +00:00
|
|
|
$(Gluon/Build/Install)
|
|
|
|
|
2018-02-26 01:05:07 +00:00
|
|
|
$(INSTALL_DIR) $(1)/lib/gluon/status-page/providers
|
2018-04-13 18:44:52 +00:00
|
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/stations $(1)/lib/gluon/status-page/providers/
|
2018-02-26 01:05:07 +00:00
|
|
|
|
2020-05-12 22:45:06 +00:00
|
|
|
ifndef CONFIG_GLUON_MINIFY
|
|
|
|
$(CP) ./javascript/status-page.js $(1)/lib/gluon/status-page/www/static/status-page.js
|
|
|
|
endif
|
|
|
|
|
2018-02-26 00:35:11 +00:00
|
|
|
$(INSTALL_DIR) $(1)/lib/gluon/status-page/view/
|
|
|
|
$(LN) /lib/gluon/web/i18n $(1)/lib/gluon/status-page/
|
|
|
|
$(LN) /lib/gluon/web/view/error $(1)/lib/gluon/status-page/view/
|
2014-01-29 16:17:49 +00:00
|
|
|
endef
|
|
|
|
|
2018-03-08 18:49:41 +00:00
|
|
|
$(eval $(call BuildPackageGluon,gluon-status-page))
|