gluon/package/gluon-status-page/Makefile

25 lines
779 B
Makefile
Raw Normal View History

2014-01-29 16:17:49 +00:00
include $(TOPDIR)/rules.mk
PKG_NAME:=gluon-status-page
PKG_VERSION:=3
2014-01-29 16:17:49 +00:00
include ../gluon.mk
2014-01-29 16:17:49 +00:00
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 +libbatadv
2014-01-29 16:17:49 +00:00
endef
define Package/gluon-status-page/install
$(Gluon/Build/Install)
$(INSTALL_DIR) $(1)/lib/gluon/status-page/providers
$(INSTALL_BIN) $(PKG_BUILD_DIR)/{neighbours-batadv,stations} $(1)/lib/gluon/status-page/providers/
$(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
$(eval $(call BuildPackageGluon,gluon-status-page))