void-packages/srcpkgs/iw/template

20 lines
603 B
Bash

# Template file for 'iw'
pkgname=iw
version=4.7
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.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=d1720c04bc26661d42e71d13746d5c3aeedb6bdf743f7d6b7b056f0abd345ee8
do_build() {
make V=1 CC=$CC ${makejobs}
}
do_install() {
make PREFIX=/usr SBINDIR=/usr/bin DESTDIR=${DESTDIR} install
}