2 # Copyright (C) 2016 Tobias Ilte <tobias.ilte@campus.tu-berlin.de>
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
8 include $(TOPDIR
)/rules.mk
13 PKG_MAINTAINER
:=Tobias Ilte
<tobias.ilte@campus.tu-berlin.de
>
14 PKG_LICENSE
:=GPL-3.0
-or-later
16 include $(INCLUDE_DIR
)/package.mk
18 define Package
/dynapoint
22 DEPENDS
:=+lua
+libubus-lua
+libuci-lua
+libubox-lua
+luci-lib-nixio
23 TITLE
:=Dynamic access point manager
27 define Package
/dynapoint
/description
28 Dynapoint uses LUA scripts to allow dynamic access point creation
29 and deletion depending on changes of certain network conditions.
32 define Package
/dynapoint
/conffiles
39 define Package
/dynapoint
/install
40 $(INSTALL_DIR
) $(1)/usr
/sbin
41 $(INSTALL_BIN
) .
/src
/dynapoint.lua
$(1)/usr
/sbin
/
42 $(INSTALL_DIR
) $(1)/etc
/init.d
43 $(INSTALL_BIN
) .
/src
/dynapoint.init
$(1)/etc
/init.d
/dynapoint
44 $(INSTALL_DIR
) $(1)/etc
/config
45 $(INSTALL_DATA
) .
/src
/dynapoint.config
$(1)/etc
/config
/dynapoint
48 $(eval
$(call BuildPackage
,dynapoint
))