packages/net/dawn/Makefile
Nick Hainke 55daa1e8cb dawn: update to latest version 2020-07-12
Includes:
- dawn_uci: no need uci_alloc_context on each uci_set_network call
- test_storage: extend test harness; datastorage: two bug fixes
- tcpsocket: free con after ustream write error and make list each safe
  list_each is not safe against removal of list entry

Signed-off-by: Nick Hainke <vincent@systemli.org>
2020-07-12 14:57:11 +02:00

50 lines
1.3 KiB
Makefile

#
# This software is licensed under the Public Domain.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=dawn
PKG_SOURCE_DATE:=2020-07-12
PKG_RELEASE:=1
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/berlin-open-wireless-lab/DAWN.git
PKG_SOURCE_VERSION:=32640de37836f674429aab1ff06f26c27c2c0986
PKG_MIRROR_HASH:=82d55383d6594dae46f2eb11b65f217f3e994e3ce3d655aa1c5a7ac80a5c8d63
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/conffiles
/etc/config/dawn
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))