Makefile 739 B

12345678910111213141516171819202122232425262728293031323334353637
  1. include $(TOPDIR)/rules.mk
  2. PKG_NAME:=gluon-status-page
  3. PKG_VERSION:=2
  4. PKG_RELEASE:=1
  5. PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
  6. include $(INCLUDE_DIR)/package.mk
  7. define Package/gluon-status-page
  8. SECTION:=gluon
  9. CATEGORY:=Gluon
  10. TITLE:=Adds a status page showing information about the node.
  11. DEPENDS:=+gluon-status-page-api
  12. endef
  13. define Package/gluon-status-page/description
  14. Adds a status page showing information about the node.
  15. Especially useful in combination with the next-node feature.
  16. endef
  17. define Build/Prepare
  18. mkdir -p $(PKG_BUILD_DIR)
  19. endef
  20. define Build/Configure
  21. endef
  22. define Build/Compile
  23. endef
  24. define Package/gluon-status-page/install
  25. $(CP) ./files/* $(1)/
  26. endef
  27. $(eval $(call BuildPackage,gluon-status-page))