1*edff4923SAndrew GeisslerSUMMARY = "nl80211 based CLI configuration utility for wireless devices"
2*edff4923SAndrew GeisslerDESCRIPTION = "iw is a new nl80211 based CLI configuration utility for \
3*edff4923SAndrew Geisslerwireless devices. It supports almost all new drivers that have been added \
4*edff4923SAndrew Geisslerto the kernel recently. "
5*edff4923SAndrew GeisslerHOMEPAGE = "https://wireless.wiki.kernel.org/en/users/documentation/iw"
6*edff4923SAndrew GeisslerSECTION = "base"
7*edff4923SAndrew GeisslerLICENSE = "BSD-2-Clause"
8*edff4923SAndrew GeisslerLIC_FILES_CHKSUM = "file://COPYING;md5=878618a5c4af25e9b93ef0be1a93f774"
9*edff4923SAndrew Geissler
10*edff4923SAndrew GeisslerDEPENDS = "libnl"
11*edff4923SAndrew Geissler
12*edff4923SAndrew GeisslerSRC_URI = "http://www.kernel.org/pub/software/network/iw/${BP}.tar.gz \
13*edff4923SAndrew Geissler           file://0001-iw-version.sh-don-t-use-git-describe-for-versioning.patch \
14*edff4923SAndrew Geissler           file://separate-objdir.patch \
15*edff4923SAndrew Geissler"
16*edff4923SAndrew Geissler
17*edff4923SAndrew GeisslerSRC_URI[sha256sum] = "4c3194778b175d58442907d51d1977e7270fce5cbebff0eab11c45c1da287a4b"
18*edff4923SAndrew Geissler
19*edff4923SAndrew Geisslerinherit pkgconfig
20*edff4923SAndrew Geissler
21*edff4923SAndrew GeisslerEXTRA_OEMAKE = "\
22*edff4923SAndrew Geissler    -f '${S}/Makefile' \
23*edff4923SAndrew Geissler    \
24*edff4923SAndrew Geissler    'PREFIX=${prefix}' \
25*edff4923SAndrew Geissler    'SBINDIR=${sbindir}' \
26*edff4923SAndrew Geissler    'MANDIR=${mandir}' \
27*edff4923SAndrew Geissler"
28*edff4923SAndrew Geissler
29*edff4923SAndrew Geisslerdo_install() {
30*edff4923SAndrew Geissler    oe_runmake 'DESTDIR=${D}' install
31*edff4923SAndrew Geissler}
32