void-packages/srcpkgs/iw/template

21 lines
622 B
Bash

# Template file for 'iw'
pkgname=iw
version=5.0.1
revision=1
hostmakedepends="pkg-config libnl3-devel"
makedepends="libnl3-devel"
short_desc="nl80211 based CLI configuration utility for wireless devices"
maintainer="Juan RP <xtraeme@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=1e38ea794a223525b2ea7fe78fd14f2a56121e62e21ba5f9dbe8c494b35b5c0d
do_build() {
make V=1 CC=$CC ${makejobs}
}
do_install() {
make PREFIX=/usr SBINDIR=/usr/bin DESTDIR=${DESTDIR} install
vlicense COPYING
}