aboutsummaryrefslogtreecommitdiffstats
path: root/main/iw
diff options
context:
space:
mode:
authortmpfile <tmpfile@users.noreply.github.com>2017-05-14 10:27:48 -0300
committerNatanael Copa <ncopa@alpinelinux.org>2017-06-07 19:10:57 +0000
commit4cdbde1056ec3ead3dd96dd1208d1caac54a3206 (patch)
treea16ceef799c9c412002b3fc4310029d752bf4532 /main/iw
parent05266955a6613f330f74d3ce7a70ee75855cdc51 (diff)
downloadaports-4cdbde1056ec3ead3dd96dd1208d1caac54a3206.tar.bz2
aports-4cdbde1056ec3ead3dd96dd1208d1caac54a3206.tar.xz
main/iw: upgrade to 4.9 and modernize
Diffstat (limited to 'main/iw')
-rw-r--r--main/iw/APKBUILD27
1 files changed, 7 insertions, 20 deletions
diff --git a/main/iw/APKBUILD b/main/iw/APKBUILD
index d08a41ae94..1dd7cd3495 100644
--- a/main/iw/APKBUILD
+++ b/main/iw/APKBUILD
@@ -1,6 +1,6 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=iw
-pkgver=4.7
+pkgver=4.9
pkgrel=0
pkgdesc="nl80211 based CLI configuration utility for wireless devices"
url="http://wireless.kernel.org/en/users/Documentation/iw"
@@ -11,29 +11,16 @@ makedepends="libnl3-dev linux-headers"
subpackages="$pkgname-doc"
source="https://www.kernel.org/pub/software/network/$pkgname/$pkgname-$pkgver.tar.xz"
-_builddir="$srcdir"/$pkgname-$pkgver
-prepare() {
- cd "$_builddir"
-
- local i=
- for i in $source; do
- case $i in
- *.patch)
- patch -p1 -i "$srcdir"/$i || return 1 ;;
- esac
- done
-}
+builddir="$srcdir"/$pkgname-$pkgver
build () {
- cd "$_builddir"
- make V=1 || return 1
+ cd "$builddir"
+ make V=1
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
}
-md5sums="c70b4500255c816b202e3561c901af4a iw-4.7.tar.xz"
-sha256sums="d1720c04bc26661d42e71d13746d5c3aeedb6bdf743f7d6b7b056f0abd345ee8 iw-4.7.tar.xz"
-sha512sums="a43a61f6b10f1dc7ba69eea679aa82f041c8574f1323107581ee30e57296cdbaba80519a3e7d470ff3bbf2a7c2c7b687aae4839eb04b8938db1dacdb4610f5a1 iw-4.7.tar.xz"
+sha512sums="3c99d8fc07d6d85b8304ff34b96573e22af65aea688a8cb08051ce4857d7ce9ac32a5acd3b30157c6c78e942f84a18f9229c17e353b7a6d01c80324729af18b3 iw-4.9.tar.xz"