You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

47 lines
1.2 KiB

  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. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=dynapoint
  9. PKG_RELEASE:=1
  10. PKG_MAINTAINER:=Tobias Ilte <tobias.ilte@campus.tu-berlin.de>
  11. PKG_LICENSE:=GPL-3.0+
  12. include $(INCLUDE_DIR)/package.mk
  13. define Package/dynapoint
  14. SECTION:=net
  15. CATEGORY:=Network
  16. SUBMENU:=wireless
  17. DEPENDS:=+lua +libubus-lua +libuci-lua +libubox-lua +luci-lib-nixio
  18. TITLE:=Dynamic access point manager
  19. endef
  20. define Package/dynapoint/description
  21. Dynapoint uses LUA scripts to allow dynamic access point creation
  22. and deletion depending on changes of certain network conditions.
  23. endef
  24. define Package/dynapoint/conffiles
  25. /etc/config/dynapoint
  26. endef
  27. define Build/Compile
  28. endef
  29. define Package/dynapoint/install
  30. $(INSTALL_DIR) $(1)/usr/sbin
  31. $(INSTALL_BIN) ./src/dynapoint.lua $(1)/usr/sbin/
  32. $(INSTALL_DIR) $(1)/etc/init.d
  33. $(INSTALL_BIN) ./src/dynapoint.init $(1)/etc/init.d/dynapoint
  34. $(INSTALL_DIR) $(1)/etc/config
  35. $(INSTALL_DATA) ./src/dynapoint.config $(1)/etc/config/dynapoint
  36. endef
  37. $(eval $(call BuildPackage,dynapoint))