- #
- # This software is licensed under the Public Domain.
- #
-
- include $(TOPDIR)/rules.mk
-
- PKG_NAME:=dawn
- PKG_SOURCE_DATE:=2020-03-29
- PKG_RELEASE:=1
-
- PKG_SOURCE_PROTO:=git
- PKG_SOURCE_URL:=https://github.com/berlin-open-wireless-lab/DAWN.git
- PKG_SOURCE_VERSION:=a25bb91f3751dea3a43ae3b3835a5a6bf7239259
- PKG_MIRROR_HASH:=7f60d026b15f6768a950d31007a247ad7bfb6c8a3b67bd938a1f345be62ca0c4
-
- PKG_MAINTAINER:=Nick Hainke <vincent@systemli.org>
- PKG_LICENSE:=GPL-2.0-only
- PKG_LICENSE_FILES:=LICENSE
-
- PKG_BUILD_PARALLEL:=1
-
- include $(INCLUDE_DIR)/package.mk
- include $(INCLUDE_DIR)/cmake.mk
-
- define Package/dawn
- SECTION:=net
- CATEGORY:=Network
- TITLE:=Decentralized wifi controller
- URL:=https://github.com/berlin-open-wireless-lab/DAWN.git
- DEPENDS:=$(DRV_DEPENDS) +libubus +libubox +libblobmsg-json +libuci +libgcrypt +libiwinfo +umdns
- endef
-
- define Package/dawn/description
- This package implements a decentralized wireless daemon.
- endef
-
- define Package/dawn/install
- $(INSTALL_DIR) $(1)/usr/sbin
- $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/sbin/dawn $(1)/usr/sbin/dawn
- $(INSTALL_DIR) $(1)/etc/init.d
- $(INSTALL_BIN) ./files/dawn.init $(1)/etc/init.d/dawn
- $(INSTALL_DIR) $(1)/etc/config
- $(INSTALL_CONF) ./files/dawn.config $(1)/etc/config/dawn
- endef
-
- $(eval $(call BuildPackage,dawn))
|