dynapoint: add new package (fixes #3304)

Dynapoint is a dynamic access point manager

Signed-off-by: Tobias Ilte <tobias.ilte@campus.tu-berlin.de>
Acked-by: Thomas Huehn <thomas.huehn@evernet-eg.de>

- minor whitespace fixes/cleanups
- squashed multiple commits into a single one before merge

Signed-off-by: Michael Heimpold <mhei@heimpold.de>
This commit is contained in:
ascob
2016-10-05 18:24:19 +02:00
committed by Michael Heimpold
parent ea2115ae01
commit 9cbc078e2c
4 changed files with 274 additions and 0 deletions
+47
View File
@@ -0,0 +1,47 @@
#
# Copyright (C) 2016 Tobias Ilte <tobias.ilte@campus.tu-berlin.de>
#
# This is free software, licensed under the GNU General Public License v2.
# See /LICENSE for more information.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=dynapoint
PKG_RELEASE:=1
PKG_MAINTAINER:=Tobias Ilte <tobias.ilte@campus.tu-berlin.de>
PKG_LICENSE:=GPL-3.0+
include $(INCLUDE_DIR)/package.mk
define Package/$(PKG_NAME)
SECTION:=net
CATEGORY:=Network
SUBMENU:=wireless
DEPENDS:=+lua +libubus-lua +libuci-lua +libubox-lua +luci-lib-nixio
TITLE:=Dynamic access point manager
endef
define Package/$(PKG_NAME)/description
Dynapoint uses LUA scripts to allow dynamic access point creation
and deletion depending on changes of certain network conditions.
endef
define Package/$(PKG_NAME)/conffiles
/etc/config/dynapoint
endef
define Build/Compile
endef
define Package/$(PKG_NAME)/install
$(INSTALL_DIR) $(1)/usr/sbin
$(INSTALL_BIN) ./src/dynapoint.lua $(1)/usr/sbin/
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) ./src/dynapoint.init $(1)/etc/init.d/dynapoint
$(INSTALL_DIR) $(1)/etc/config
$(INSTALL_DATA) ./src/dynapoint.config $(1)/etc/config/dynapoint
endef
$(eval $(call BuildPackage,$(PKG_NAME)))