2020-03-23 18:30:44 +00:00
|
|
|
#
|
|
|
|
# This software is licensed under the Public Domain.
|
|
|
|
#
|
|
|
|
|
|
|
|
include $(TOPDIR)/rules.mk
|
|
|
|
|
|
|
|
PKG_NAME:=dawn
|
2020-12-30 23:14:25 +00:00
|
|
|
PKG_SOURCE_DATE:=2020-12-31
|
2021-01-23 14:03:43 +00:00
|
|
|
PKG_RELEASE:=$(AUTORELEASE)
|
2020-03-23 18:30:44 +00:00
|
|
|
|
|
|
|
PKG_SOURCE_PROTO:=git
|
|
|
|
PKG_SOURCE_URL:=https://github.com/berlin-open-wireless-lab/DAWN.git
|
2020-12-30 23:14:25 +00:00
|
|
|
PKG_SOURCE_VERSION:=8ce09d64def9a1ad4bbf57dd3fe724a8a9b93334
|
|
|
|
PKG_MIRROR_HASH:=cc33ca6ab1c4bd3e9e2a7a380700c6c15d222b3fd7064a3ce2963abb0965f078
|
2020-03-23 18:30:44 +00:00
|
|
|
|
|
|
|
PKG_MAINTAINER:=Nick Hainke <vincent@systemli.org>
|
|
|
|
PKG_LICENSE:=GPL-2.0-only
|
|
|
|
PKG_LICENSE_FILES:=LICENSE
|
|
|
|
|
|
|
|
include $(INCLUDE_DIR)/package.mk
|
2021-03-04 22:45:01 +00:00
|
|
|
include ../../devel/ninja/ninja-cmake.mk
|
2020-03-23 18:30:44 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
|
2020-05-08 21:43:57 +00:00
|
|
|
define Package/dawn/conffiles
|
|
|
|
/etc/config/dawn
|
|
|
|
endef
|
|
|
|
|
2020-03-23 18:30:44 +00:00
|
|
|
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))
|