banip: release 0.9.6-1
[feed/packages.git] / net / dynapoint / Makefile
1 #
2 # Copyright (C) 2016 Tobias Ilte <tobias.ilte@campus.tu-berlin.de>
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=dynapoint
11 PKG_RELEASE:=3
12
13 PKG_MAINTAINER:=Tobias Ilte <tobias.ilte@campus.tu-berlin.de>
14 PKG_LICENSE:=GPL-3.0-or-later
15
16 include $(INCLUDE_DIR)/package.mk
17
18 define Package/dynapoint
19 SECTION:=net
20 CATEGORY:=Network
21 SUBMENU:=Wireless
22 DEPENDS:=+lua +libubus-lua +libuci-lua +libubox-lua +luci-lib-nixio
23 TITLE:=Dynamic access point manager
24 PKGARCH:=all
25 endef
26
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.
30 endef
31
32 define Package/dynapoint/conffiles
33 /etc/config/dynapoint
34 endef
35
36 define Build/Compile
37 endef
38
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
46 endef
47
48 $(eval $(call BuildPackage,dynapoint))