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