15a80aaffd
Apart from replacing a patch for the former by two patches for latter, this involved minimal adaptations of the lua scripts in the following packages: * gluon-announce * gluon-announced * gluon-mesh-batman-adv-core * gluon-status-page
38 lines
805 B
Makefile
38 lines
805 B
Makefile
include $(TOPDIR)/rules.mk
|
|
|
|
PKG_NAME:=gluon-status-page
|
|
PKG_VERSION:=1
|
|
PKG_RELEASE:=1
|
|
|
|
PKG_BUILD_DIR := $(BUILD_DIR)/$(PKG_NAME)
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
define Package/gluon-status-page
|
|
SECTION:=gluon
|
|
CATEGORY:=Gluon
|
|
TITLE:=Adds a status page showing information about the node.
|
|
DEPENDS:=+gluon-core +uhttpd +gluon-neighbour-info +gluon-announce +libiwinfo-lua +luci-lib-jsonc
|
|
endef
|
|
|
|
define Package/gluon-status-page/description
|
|
Adds a status page showing information about the node.
|
|
Especially useful in combination with the next-node feature.
|
|
endef
|
|
|
|
define Build/Prepare
|
|
mkdir -p $(PKG_BUILD_DIR)
|
|
endef
|
|
|
|
define Build/Configure
|
|
endef
|
|
|
|
define Build/Compile
|
|
endef
|
|
|
|
define Package/gluon-status-page/install
|
|
$(CP) ./files/* $(1)/
|
|
endef
|
|
|
|
$(eval $(call BuildPackage,gluon-status-page))
|