forked from freifunk-gluon/community-packages
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
44 lines (33 loc) · 1.43 KB
/
Copy pathMakefile
File metadata and controls
44 lines (33 loc) · 1.43 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
include $(TOPDIR)/rules.mk
PKG_NAME:=ffda-node-whisperer
PKG_RELEASE:=1
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL=https://github.com/freifunk-darmstadt/node-whisperer.git
PKG_SOURCE_DATE:=2026-05-16
PKG_SOURCE_VERSION:=c0f09545607006b8b8551a76a29d9f825f0dc128
PKG_MAINTAINER:=David Bauer <mail@david-bauer.net>
PKG_LICENSE:=GPL-2.0-or-later
include $(TOPDIR)/../package/gluon.mk
MAKE_PATH:=src
MAKE_VARS += \
NL_LIB="libnl-tiny" \
NL_GENL_LIB="libnl-tiny"
Build/Compile=$(call Build/Compile/Default)
define Package/ffda-node-whisperer
TITLE:=Package to provide diagnostic information using WiFi beacons
DEPENDS:=+gluon-core +libubox +libubus +libblobmsg-json +libnl-tiny +libbatadv +libgluonutil
endef
define Package/ffda-node-whisperer/description
Package to provide diagnostic information using WiFi beacons
endef
define Package/ffda-node-whisperer/conffiles
/etc/config/node-whisperer
endef
define Package/ffda-node-whisperer/install
$(INSTALL_DIR) $(1)/usr/bin $(1)/etc/init.d $(1)/etc/config $(1)/lib/gluon/upgrade
$(INSTALL_BIN) $(PKG_BUILD_DIR)/src/node-whisperer $(1)/usr/bin
$(INSTALL_BIN) $(PKG_BUILD_DIR)/openwrt/node-whisperer/files/node-whisperer.init $(1)/etc/init.d/node-whisperer
$(CP) $(PKG_BUILD_DIR)/openwrt/node-whisperer/files/node-whisperer.uci $(1)/etc/config/node-whisperer
$(INSTALL_BIN) ./files/node-whisperer.upgrade.lua $(1)/lib/gluon/upgrade/150-node-whisperer
endef
$(eval $(call BuildPackageGluon,ffda-node-whisperer))