# Template file for 'iw'
pkgname=iw
version=3.10
revision=1
build_style=gnu-makefile
hostmakedepends="pkg-config"
makedepends="libnl3-devel"
short_desc="nl80211 based CLI configuration utility for wireless devices"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://wireless.kernel.org/en/users/Documentation/iw"
distfiles="http://www.kernel.org/pub/software/network/iw/iw-${version}.tar.xz"
checksum=456ee212cfb728e292667caa508a7dff902666c78579814756a3012d68d64fe9

if [ "$CROSS_BUILD" ]; then
	hostmakedepends+=" libnl3-devel"
fi

iw_package() {
	pkg_install() {
		vmove all
	}
}