2015-12-19 13:44:41 +01:00
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=fff-nodewatcher
|
2021-01-31 13:57:11 +01:00
|
|
|
PKG_RELEASE:=62
|
2015-12-19 13:44:41 +01:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
2017-10-15 18:26:48 +02:00
|
|
|
define Package/$(PKG_NAME)
|
2019-02-03 17:48:49 +01:00
|
|
|
SECTION:=base
|
|
|
|
CATEGORY:=Freifunk
|
2020-12-13 00:05:01 +01:00
|
|
|
TITLE:=Freifunk-Franken Nodewatcher
|
2021-10-24 12:40:45 +02:00
|
|
|
URL:=https://www.freifunk-franken.de
|
2019-02-03 17:48:49 +01:00
|
|
|
DEPENDS:=+fff-alfred +micrond +fff-config +fff-random +ip +ip-bridge
|
2015-12-19 13:44:41 +01:00
|
|
|
endef
|
|
|
|
|
2017-10-15 18:26:48 +02:00
|
|
|
define Package/$(PKG_NAME)/description
|
2019-02-03 17:48:49 +01:00
|
|
|
This is the Nodewatcher for the Freifunk Franken Firmware
|
|
|
|
It is used to send node status information to
|
|
|
|
monitoring.freifunk-franken.de and
|
|
|
|
netmon.freifunk-franken.de
|
2015-12-19 13:44:41 +01:00
|
|
|
endef
|
|
|
|
|
2021-01-31 13:50:40 +01:00
|
|
|
define Package/$(PKG_NAME)/conffiles
|
|
|
|
/etc/config/nodewatcher
|
|
|
|
endef
|
|
|
|
|
2015-12-19 13:44:41 +01:00
|
|
|
define Build/Compile
|
|
|
|
# nothing
|
|
|
|
endef
|
|
|
|
|
2017-10-15 18:26:48 +02:00
|
|
|
define Package/$(PKG_NAME)/install
|
2019-02-03 17:48:49 +01:00
|
|
|
$(CP) ./files/* $(1)/
|
2020-01-07 14:40:24 +01:00
|
|
|
printf "$(if $(PKG_VERSION),$(PKG_VERSION).)$(PKG_RELEASE)" >> $(1)/etc/nodewatcher_version
|
2015-12-19 13:44:41 +01:00
|
|
|
endef
|
|
|
|
|
2017-10-15 18:26:48 +02:00
|
|
|
$(eval $(call BuildPackage,$(PKG_NAME)))
|