diff --git a/srcpkgs/iw/template b/srcpkgs/iw/template index 1897c244bb5..09f503a1515 100644 --- a/srcpkgs/iw/template +++ b/srcpkgs/iw/template @@ -1,10 +1,8 @@ # Template file for 'iw' pkgname=iw version=4.1 -revision=1 +revision=2 build_pie=yes -build_style=gnu-makefile -make_install_args="SBINDIR=/usr/bin" hostmakedepends="pkg-config libnl3-devel" makedepends="libnl3-devel" short_desc="nl80211 based CLI configuration utility for wireless devices" @@ -13,3 +11,10 @@ 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 +}