wifi-scripts: add new package, move wifi scripts to a single place
[openwrt/staging/wigyori.git] / package / network / config / wifi-scripts / Makefile
1 #
2 # Copyright (C) 2024 OpenWrt.org
3 #
4 # This is free software, licensed under the GNU General Public License v2.
5 # See /LICENSE for more information.
6 #
7
8 include $(TOPDIR)/rules.mk
9
10 PKG_NAME:=wifi-scripts
11 PKG_VERSION:=1.0
12 PKG_RELEASE:=1
13 PKG_LICENSE:=GPL-2.0
14
15 PKG_MAINTAINER:=Felix Fietkau <nbd@nbd.name>
16
17 include $(INCLUDE_DIR)/package.mk
18
19 define Package/wifi-scripts
20 SECTION:=utils
21 CATEGORY:=Base system
22 DEPENDS:=+netifd +ucode +ucode-mod-nl80211 +ucode-mod-ubus
23 TITLE:=Wi-Fi configuration scripts
24 PKGARCH:=all
25 endef
26
27 define Package/qos-scripts/description
28 A set of scripts that handle setup and configuration of Wi-Fi devices.
29 endef
30
31 define Build/Prepare
32 endef
33
34 define Build/Configure
35 endef
36
37 define Build/Compile
38 endef
39
40 define Package/wifi-scripts/install
41 $(INSTALL_DIR) $(1)
42 $(CP) ./files/* $(1)/
43 endef
44
45 $(eval $(call BuildPackage,wifi-scripts))