void-packages/srcpkgs/iw/template

21 lines
617 B
Bash

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