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.3 KiB

  1. #
  2. # This software is licensed under the Public Domain.
  3. #
  4. include $(TOPDIR)/rules.mk
  5. PKG_NAME:=dawn
  6. PKG_SOURCE_DATE:=2022-01-17
  7. PKG_RELEASE:=$(AUTORELEASE)
  8. PKG_SOURCE_PROTO:=git
  9. PKG_SOURCE_URL:=https://github.com/berlin-open-wireless-lab/DAWN.git
  10. PKG_SOURCE_VERSION:=7a72674063dd34bd21f39c7be8aadb867db67658
  11. PKG_MIRROR_HASH:=4fbca0139c8c3fc08bf430887c9f0835d6b4645cc316b96f2d58c2d8ceb89f24
  12. PKG_MAINTAINER:=Nick Hainke <vincent@systemli.org>
  13. PKG_LICENSE:=GPL-2.0-only
  14. PKG_LICENSE_FILES:=LICENSE
  15. include $(INCLUDE_DIR)/package.mk
  16. include $(INCLUDE_DIR)/cmake.mk
  17. define Package/dawn
  18. SECTION:=net
  19. CATEGORY:=Network
  20. TITLE:=Decentralized wifi controller
  21. URL:=https://github.com/berlin-open-wireless-lab/DAWN.git
  22. DEPENDS:=$(DRV_DEPENDS) +libubus +libubox +libblobmsg-json +libuci +libgcrypt +libiwinfo +umdns
  23. endef
  24. define Package/dawn/description
  25. This package implements a decentralized wireless daemon.
  26. endef
  27. define Package/dawn/conffiles
  28. /etc/config/dawn
  29. endef
  30. define Package/dawn/install
  31. $(INSTALL_DIR) $(1)/usr/sbin
  32. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/dawn $(1)/usr/sbin/dawn
  33. $(INSTALL_DIR) $(1)/etc/init.d
  34. $(INSTALL_BIN) ./files/dawn.init $(1)/etc/init.d/dawn
  35. $(INSTALL_DIR) $(1)/etc/config
  36. $(INSTALL_CONF) ./files/dawn.config $(1)/etc/config/dawn
  37. endef
  38. $(eval $(call BuildPackage,dawn))