# Template file for 'iw'
pkgname=iw
version=6.17
revision=1
hostmakedepends="pkg-config libnl3-devel"
makedepends="libnl3-devel"
short_desc="Utility for nl80211 based CLI configuration of wireless devices"
maintainer="Enno Boland <gottox@voidlinux.org>"
license="ISC"
homepage="https://wireless.docs.kernel.org/en/latest/en/users/documentation/iw.html"
distfiles="https://www.kernel.org/pub/software/network/iw/iw-${version}.tar.xz"
checksum=7d182e498289ab39b257da6780d562e415377107f50358ee5b55b8cfe40b1e33

do_build() {
	make V=1 CC=$CC ${makejobs}
}

do_install() {
	make PREFIX=/usr SBINDIR=/usr/bin DESTDIR=${DESTDIR} install
	vlicense COPYING
}
