summaryrefslogtreecommitdiff
path: root/repo/util/iw.xibuild
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2022-02-06 21:17:10 +0000
committerdavidovski <david@davidovski.xyz>2022-02-06 21:17:10 +0000
commit4192355923cd08e4fc47f938e1cc851ec455b2ee (patch)
tree6d1c037770f39e5ff7bbf0fe700b1220428df46f /repo/util/iw.xibuild
parent0e4b0063132b121a01cf985b05ce32a68cfc521f (diff)
edited added iw
Diffstat (limited to 'repo/util/iw.xibuild')
-rw-r--r--repo/util/iw.xibuild22
1 files changed, 22 insertions, 0 deletions
diff --git a/repo/util/iw.xibuild b/repo/util/iw.xibuild
new file mode 100644
index 0000000..0870143
--- /dev/null
+++ b/repo/util/iw.xibuild
@@ -0,0 +1,22 @@
+#!/bin/bash
+
+MAKEDEPS=(make)
+DEPS=(libnl)
+
+PKG_VER=5.16
+SOURCE=https://www.kernel.org/pub/software/network/iw/iw-$PKG_VER.tar.xz
+DESC="nl80211 based CLI configuration utility for wireless devices"
+
+prepare () {
+ sed -i "/INSTALL.*gz/s/.gz//" Makefile
+}
+
+build () {
+ make
+}
+
+package () {
+ make DESTDIR=$PKG_DEST install
+}
+
+