2016-10-05 16:24:19 +00:00
|
|
|
#
|
|
|
|
# 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
|
2019-09-02 13:15:08 +00:00
|
|
|
PKG_RELEASE:=3
|
2016-10-05 16:24:19 +00:00
|
|
|
|
|
|
|
PKG_MAINTAINER:=Tobias Ilte <tobias.ilte@campus.tu-berlin.de>
|
2019-09-02 13:15:08 +00:00
|
|
|
PKG_LICENSE:=GPL-3.0-or-later
|
2016-10-05 16:24:19 +00:00
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
|
|
|
|
2017-03-07 12:41:01 +00:00
|
|
|
define Package/dynapoint
|
2016-10-05 16:24:19 +00:00
|
|
|
SECTION:=net
|
|
|
|
CATEGORY:=Network
|
2019-07-23 13:35:03 +00:00
|
|
|
SUBMENU:=Wireless
|
2016-10-05 16:24:19 +00:00
|
|
|
DEPENDS:=+lua +libubus-lua +libuci-lua +libubox-lua +luci-lib-nixio
|
|
|
|
TITLE:=Dynamic access point manager
|
2019-01-28 06:38:44 +00:00
|
|
|
PKGARCH:=all
|
2016-10-05 16:24:19 +00:00
|
|
|
endef
|
|
|
|
|
2017-03-07 12:41:01 +00:00
|
|
|
define Package/dynapoint/description
|
2016-10-05 16:24:19 +00:00
|
|
|
Dynapoint uses LUA scripts to allow dynamic access point creation
|
|
|
|
and deletion depending on changes of certain network conditions.
|
|
|
|
endef
|
|
|
|
|
2017-03-07 12:41:01 +00:00
|
|
|
define Package/dynapoint/conffiles
|
2016-10-05 16:24:19 +00:00
|
|
|
/etc/config/dynapoint
|
|
|
|
endef
|
|
|
|
|
|
|
|
define Build/Compile
|
|
|
|
endef
|
|
|
|
|
2017-03-07 12:41:01 +00:00
|
|
|
define Package/dynapoint/install
|
2016-10-05 16:24:19 +00:00
|
|
|
$(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
|
|
|
|
|
2017-03-07 12:41:01 +00:00
|
|
|
$(eval $(call BuildPackage,dynapoint))
|