void-packages/srcpkgs/iw/template
2015-05-18 11:18:41 +02:00

20 lines
617 B
Bash

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