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.

48 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:=3
  10. PKG_MAINTAINER:=Tobias Ilte <tobias.ilte@campus.tu-berlin.de>
  11. PKG_LICENSE:=GPL-3.0-or-later
  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. PKGARCH:=all
  20. endef
  21. define Package/dynapoint/description
  22. Dynapoint uses LUA scripts to allow dynamic access point creation
  23. and deletion depending on changes of certain network conditions.
  24. endef
  25. define Package/dynapoint/conffiles
  26. /etc/config/dynapoint
  27. endef
  28. define Build/Compile
  29. endef
  30. define Package/dynapoint/install
  31. $(INSTALL_DIR) $(1)/usr/sbin
  32. $(INSTALL_BIN) ./src/dynapoint.lua $(1)/usr/sbin/
  33. $(INSTALL_DIR) $(1)/etc/init.d
  34. $(INSTALL_BIN) ./src/dynapoint.init $(1)/etc/init.d/dynapoint
  35. $(INSTALL_DIR) $(1)/etc/config
  36. $(INSTALL_DATA) ./src/dynapoint.config $(1)/etc/config/dynapoint
  37. endef
  38. $(eval $(call BuildPackage,dynapoint))