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.

50 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:=2020-07-12
  7. PKG_RELEASE:=1
  8. PKG_SOURCE_PROTO:=git
  9. PKG_SOURCE_URL:=https://github.com/berlin-open-wireless-lab/DAWN.git
  10. PKG_SOURCE_VERSION:=32640de37836f674429aab1ff06f26c27c2c0986
  11. PKG_MIRROR_HASH:=82d55383d6594dae46f2eb11b65f217f3e994e3ce3d655aa1c5a7ac80a5c8d63
  12. PKG_MAINTAINER:=Nick Hainke <vincent@systemli.org>
  13. PKG_LICENSE:=GPL-2.0-only
  14. PKG_LICENSE_FILES:=LICENSE
  15. PKG_BUILD_PARALLEL:=1
  16. include $(INCLUDE_DIR)/package.mk
  17. include $(INCLUDE_DIR)/cmake.mk
  18. define Package/dawn
  19. SECTION:=net
  20. CATEGORY:=Network
  21. TITLE:=Decentralized wifi controller
  22. URL:=https://github.com/berlin-open-wireless-lab/DAWN.git
  23. DEPENDS:=$(DRV_DEPENDS) +libubus +libubox +libblobmsg-json +libuci +libgcrypt +libiwinfo +umdns
  24. endef
  25. define Package/dawn/description
  26. This package implements a decentralized wireless daemon.
  27. endef
  28. define Package/dawn/conffiles
  29. /etc/config/dawn
  30. endef
  31. define Package/dawn/install
  32. $(INSTALL_DIR) $(1)/usr/sbin
  33. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/dawn $(1)/usr/sbin/dawn
  34. $(INSTALL_DIR) $(1)/etc/init.d
  35. $(INSTALL_BIN) ./files/dawn.init $(1)/etc/init.d/dawn
  36. $(INSTALL_DIR) $(1)/etc/config
  37. $(INSTALL_CONF) ./files/dawn.config $(1)/etc/config/dawn
  38. endef
  39. $(eval $(call BuildPackage,dawn))