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
>
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
26 define Package
/dynapoint
/description
27 Dynapoint uses LUA scripts to allow dynamic access point creation
28 and deletion depending on changes of certain network conditions.
31 define Package
/dynapoint
/conffiles
38 define Package
/dynapoint
/install
39 $(INSTALL_DIR
) $(1)/usr
/sbin
40 $(INSTALL_BIN
) .
/src
/dynapoint.lua
$(1)/usr
/sbin
/
41 $(INSTALL_DIR
) $(1)/etc
/init.d
42 $(INSTALL_BIN
) .
/src
/dynapoint.init
$(1)/etc
/init.d
/dynapoint
43 $(INSTALL_DIR
) $(1)/etc
/config
44 $(INSTALL_DATA
) .
/src
/dynapoint.config
$(1)/etc
/config
/dynapoint
47 $(eval
$(call BuildPackage
,dynapoint
))