iw: unbreak build due to gnu-makefile.

This commit is contained in:
Juan RP 2015-05-18 11:18:41 +02:00
parent 5cd33e9e33
commit 0bffa675aa
1 changed files with 8 additions and 3 deletions

View File

@ -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
}