gluon/package/gluon-status-page-mesh-batman-adv/Makefile
Christof Schulze 8959d8c3ea
gluon-status-page: make status page mesh protocol agnostic
batman-adv-specific parts are moved to a new package
gluon-status-page-mesh-batman-adv.
2018-04-15 12:46:01 +02:00

21 lines
602 B
Makefile

include $(TOPDIR)/rules.mk
PKG_NAME:=gluon-status-page-mesh-batman-adv
PKG_VERSION:=1
include ../gluon.mk
define Package/gluon-status-page-mesh-batman-adv
TITLE:=Batman-data provider for gluon-status-page
DEPENDS:=+gluon-status-page gluon-mesh-batman-adv +libnl-tiny +libbatadv +libjson-c
endef
define Package/gluon-status-page-mesh-batman-adv/install
$(Gluon/Build/Install)
$(INSTALL_DIR) $(1)/lib/gluon/status-page/providers
$(INSTALL_BIN) $(PKG_BUILD_DIR)/neighbours-batadv $(1)/lib/gluon/status-page/providers/
endef
$(eval $(call BuildPackageGluon,gluon-status-page-mesh-batman-adv))