f419db58a2
This removes PKG_VERSION and PKG_RELEASE from most Makefiles, as the value was never useful for Gluon packages; instead, PKG_VERSION is set to 1 in gluon.mk. It also removes two other weird definitions: - gluon-iptables-clamp-mss-to-pmtu replicating the old PKG_VERSION logic from gluon-core, but without the fixed PKG_BUILD_DIR to prevent unnessary rebuilds - gluon-hoodselector set GLUON_VERSION=3
30 lines
898 B
Makefile
30 lines
898 B
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=gluon-status-page
|
|
|
|
include ../gluon.mk
|
|
|
|
define Package/gluon-status-page
|
|
TITLE:=Status page showing information about the node
|
|
DEPENDS:=+gluon-web +gluon-neighbour-info +gluon-respondd +uhttpd +sse-multiplex +libiwinfo +libjson-c +libnl-tiny +libubus-lua
|
|
endef
|
|
|
|
PKG_CONFIG_DEPENDS += CONFIG_GLUON_MINIFY
|
|
|
|
define Package/gluon-status-page/install
|
|
$(Gluon/Build/Install)
|
|
|
|
$(INSTALL_DIR) $(1)/lib/gluon/status-page/providers
|
|
$(INSTALL_BIN) $(PKG_BUILD_DIR)/stations $(1)/lib/gluon/status-page/providers/
|
|
|
|
ifndef CONFIG_GLUON_MINIFY
|
|
$(CP) ./javascript/status-page.js $(1)/lib/gluon/status-page/www/static/status-page.js
|
|
endif
|
|
|
|
$(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/
|
|
endef
|
|
|
|
$(eval $(call BuildPackageGluon,gluon-status-page))
|