summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLars Wendler <polynomial-c@gentoo.org>2019-02-04 13:27:42 +0100
committerLars Wendler <polynomial-c@gentoo.org>2019-02-04 13:28:52 +0100
commitd71a47aee32a2d3ce7d0b064627a6bff86fa6fbc (patch)
tree2c1dd64ecb197b4d59dacd74ec6b79669dedce4d /net-wireless/iw
parentsys-kernel/git-sources: Linux patch 5.0-rc5 (diff)
downloadgentoo-d71a47aee32a2d3ce7d0b064627a6bff86fa6fbc.tar.gz
gentoo-d71a47aee32a2d3ce7d0b064627a6bff86fa6fbc.tar.bz2
gentoo-d71a47aee32a2d3ce7d0b064627a6bff86fa6fbc.zip
net-wireless/iw: Bump to version 5.0
Package-Manager: Portage-2.3.59, Repoman-2.3.12 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
Diffstat (limited to 'net-wireless/iw')
-rw-r--r--net-wireless/iw/Manifest1
-rw-r--r--net-wireless/iw/iw-5.0.ebuild36
2 files changed, 37 insertions, 0 deletions
diff --git a/net-wireless/iw/Manifest b/net-wireless/iw/Manifest
index 9f5ea1cf78fd..ba9a1faa5066 100644
--- a/net-wireless/iw/Manifest
+++ b/net-wireless/iw/Manifest
@@ -4,3 +4,4 @@ DIST iw-4.14.tar.xz 114096 BLAKE2B 2b2e4667e37864b9f9e490a47546f9a1f458da7b230e0
DIST iw-4.3.tar.xz 98400 BLAKE2B 7e76c85c43d82aed93827d8e534b10f9bbb96ba4e807481eabc502ba79860133aa1755c271ee12f6a504fa52663fbe180e5a4ca91c5ff5824a952e87f2c890d6 SHA512 ac2e15c4829ea7f47f56205942eb2ff5e26e5eeaeaf8991bd3910a758988263a24052b3b0d5fb7fed51456324524777f69e48991f99003ac7f6b2068aa18f9e8
DIST iw-4.7.tar.xz 101800 BLAKE2B 3bdf49c2717e40ffff0ef78965d6252f0162577ccae945d46706f7900344b8c2a7900b1d336c9840a742ae3e7584e9bfc431ceea00ef104728b2bb48a065c41e SHA512 a43a61f6b10f1dc7ba69eea679aa82f041c8574f1323107581ee30e57296cdbaba80519a3e7d470ff3bbf2a7c2c7b687aae4839eb04b8938db1dacdb4610f5a1
DIST iw-4.9.tar.xz 105764 BLAKE2B ad8105df91c4717293d5595b5ed9b4d022e455c608d70d1aeefc3d5516dcf92e507f38f424eca60f9d819e998286a4094a83002a1b9aaf4e204ca7a02fded67e SHA512 3c99d8fc07d6d85b8304ff34b96573e22af65aea688a8cb08051ce4857d7ce9ac32a5acd3b30157c6c78e942f84a18f9229c17e353b7a6d01c80324729af18b3
+DIST iw-5.0.tar.xz 132672 BLAKE2B aeaa6067a220145f67ad731ddc76960f527a047d7c98669cd42b5994556aefcc3c5aa2b51afc4c12a60bd615118b31853cd628c71349265277ea89de2b1f93c6 SHA512 b5035e64a3b4cecec7beb7b0060090ae2e2dd9b0f8e46dac9dca4155f9f2b3e7aaa3dce12b61ff0775cbccd5edc290e27faba8a23fa5bc4b45cf97b9811b7d57
diff --git a/net-wireless/iw/iw-5.0.ebuild b/net-wireless/iw/iw-5.0.ebuild
new file mode 100644
index 000000000000..dbd9e4048a56
--- /dev/null
+++ b/net-wireless/iw/iw-5.0.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit toolchain-funcs
+
+DESCRIPTION="nl80211-based configuration utility for wireless devices using the mac80211 kernel stack"
+HOMEPAGE="https://wireless.kernel.org/en/users/Documentation/iw"
+SRC_URI="https://www.kernel.org/pub/software/network/${PN}/${P}.tar.xz"
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~ppc ~x86 ~amd64-linux ~x86-linux"
+IUSE=""
+
+RDEPEND="dev-libs/libnl:="
+BDEPEND="virtual/pkgconfig"
+
+src_prepare() {
+ default
+ tc-export CC LD PKG_CONFIG
+
+ # do not compress man pages by default.
+ sed 's@\(iw\.8\)\.gz@\1@' -i Makefile || die
+}
+
+src_compile() {
+ CFLAGS="${CFLAGS} ${CPPFLAGS}" \
+ LDFLAGS="${CFLAGS} ${LDFLAGS}" \
+ emake V=1
+}
+
+src_install() {
+ emake DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
+}