0
0
mirror of https://github.com/openwrt/packages.git synced 2025-02-07 04:39:51 +00:00
packages/net/dawn/Makefile
Ryan Keane a0f153e9a2 network: Add SUBMENU variable for some packages
Add SUBMENU variable for some packages in Network category.
Add title for `dnscrypt-proxy` package.
Shorten TITLE variable for `xray-core` package.

Filesystem:
- cifs-utils

File Transfer:
- onionshare-cli

IP Addresses and Names:
- dnscrypt-proxy2
- family-dns
- https-dns-proxy
- mdns-repeater
- nextdns
- smartdns

Version Control Systems:
- git-lfs

Wireless:
- dawn

Signed-off-by: Ryan Keane <the.ra2.ifv@gmail.com>
2024-11-22 23:39:38 +02:00

52 lines
1.3 KiB
Makefile

#
# This software is licensed under the Public Domain.
#
include $(TOPDIR)/rules.mk
PKG_NAME:=dawn
PKG_SOURCE_DATE:=2023-05-14
PKG_RELEASE:=1
PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL:=https://github.com/berlin-open-wireless-lab/DAWN.git
PKG_SOURCE_VERSION:=e036905ae3a5d079f899bbe46461fc78b4566349
PKG_MIRROR_HASH:=af8ba911efab569981a1d8f06d00c9a97d79927dc5ae0ff2b018c3b46cc01565
PKG_MAINTAINER:=Nick Hainke <vincent@systemli.org>
PKG_LICENSE:=GPL-2.0-only
PKG_LICENSE_FILES:=LICENSE
PKG_BUILD_FLAGS:=no-lto
include $(INCLUDE_DIR)/package.mk
include $(INCLUDE_DIR)/cmake.mk
define Package/dawn
SECTION:=net
CATEGORY:=Network
SUBMENU:=Wireless
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))