summaryrefslogtreecommitdiff
path: root/repo/util/iw/iw.xibuild
blob: 212a6129d072cf946c7b5568018377b926226080 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
#!/bin/sh

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
}