# $Id: PKGBUILD 24436 2009-01-17 00:02:46Z thomas $
# Maintainer: Thomas Baechler <thomas@archlinux.org>

pkgname=iw
pkgver=0.9.8
pkgrel=1
pkgdesc="nl80211 based CLI configuration utility for wireless devices"
arch=("i686" "x86_64")
url="http://www.linuxwireless.org/en/users/Documentation/iw"
license=("GPL")
depends=("libnl")
makedepends=("kernel-headers")
source=(http://wireless.kernel.org/download/$pkgname/$pkgname-$pkgver.tar.bz2)
md5sums=('d39f85e3866b1be5533fe0edce412951')

build() {
  cd $pkgname-$pkgver
  make || return 1
  make DESTDIR=$pkgdir install
}