From 0bffa675aa9e70873afc0d4c256b81d46c1c17d7 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Mon, 18 May 2015 11:18:41 +0200 Subject: [PATCH] iw: unbreak build due to gnu-makefile. --- srcpkgs/iw/template | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) 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 +}