# Template file for 'iw'
pkgname=iw
version=5.19
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="http://wireless.kernel.org/en/users/Documentation/iw"
distfiles="http://www.kernel.org/pub/software/network/iw/iw-${version}.tar.xz"
checksum=f167bbe947dd53bb9ebc0c1dcef5db6ad73ac1d6084f2c6f9376c5c360cc4d4e

do_build() {
	make V=1 CC=$CC ${makejobs}
}
do_install() {
	make PREFIX=/usr SBINDIR=/usr/bin DESTDIR=${DESTDIR} install
	vlicense COPYING
}
