1
0
mirror of https://git.openwrt.org/feed/packages.git synced 2024-06-13 19:03:52 +02:00
openwrt-packages/net/static-neighbor-reports/Makefile
David Bauer 83d572af98 static-neighbor-reports: add missing Lua dependency
Add a missing dependency on Lua. Otherwise the script installing the
neighbor report can't be executed in case Lua is not installed on the
system.

Signed-off-by: David Bauer <mail@david-bauer.net>
2021-02-28 09:19:14 +01:00

45 lines
1.2 KiB
Makefile

include $(TOPDIR)/rules.mk
PKG_NAME:=static-neighbor-reports
PKG_VERSION:=1
PKG_RELEASE:=2
PKG_MAINTAINER:=David Bauer <mail@david-bauer.net>
PKG_LICENSE:=GPL-2.0-only
include $(INCLUDE_DIR)/package.mk
Build/Compile=
define Package/static-neighbor-reports/Default
endef
define Package/static-neighbor-reports
SECTION:=net
CATEGORY:=Network
TITLE:=Configure static 802.11k neighbor reports
PKGARCH:=all
DEPENDS:=+libuci-lua +libubus-lua +lua
endef
define Package/static-neighbor-reports/install
$(INSTALL_DIR) $(1)/etc/config
$(INSTALL_CONF) ./files/static-neighbor-report.conf $(1)/etc/config/static-neighbor-report
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) ./files/static-neighbor-reports.init $(1)/etc/init.d/static-neighbor-reports
$(INSTALL_DIR) $(1)/usr/lib
$(INSTALL_BIN) ./files/reload-neighbor-reports.lua $(1)/usr/lib/reload-neighbor-reports.lua
endef
define Package/static-neighbor-reports/conffiles
/etc/config/static-neighbor-report
endef
define Package/static-neighbor-reports/description
Allows to configure static neighbor reports for hostapd interfaces.
These neighbor reports are avilable to clients using IEEE 802.11k.
endef
$(eval $(call BuildPackage,static-neighbor-reports))