commit:     91e3acb71eeb79193207acfecb6c5fef69e3b97e
Author:     Paul Zander <negril.nx+gentoo <AT> gmail <DOT> com>
AuthorDate: Sun Jun 18 14:05:13 2023 +0000
Commit:     Rick Farina <zerochaos <AT> gentoo <DOT> org>
CommitDate: Mon Jun 19 20:47:00 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=91e3acb7

net-wireless/iw: add 5.19

Closes: https://github.com/gentoo/gentoo/pull/31531
Closes: https://bugs.gentoo.org/904061
Signed-off-by: Paul Zander <negril.nx+gentoo <AT> gmail.com>
Signed-off-by: Rick Farina <zerochaos <AT> gentoo.org>

 net-wireless/iw/Manifest       |  1 +
 net-wireless/iw/iw-5.19.ebuild | 36 ++++++++++++++++++++++++++++++++++++
 2 files changed, 37 insertions(+)

diff --git a/net-wireless/iw/Manifest b/net-wireless/iw/Manifest
index 12afecf5da2a..ec249b602794 100644
--- a/net-wireless/iw/Manifest
+++ b/net-wireless/iw/Manifest
@@ -1,2 +1,3 @@
 DIST iw-5.16.tar.xz 149548 BLAKE2B 
f5c27cd92c0a5404b73992c178d611e3c78b71369f97fab1b617cc83a9951cdcbcc00bfb20cc6a8f8d08a6bef16cef7d042fc5ed3139e2fd40aa3392f66e37a6
 SHA512 
4537a7844b652b890bdafd21ff087137e04cb1b8c9c352c33ef15476c08d02fb530b7a2d920c6c581529bba6a62a9eb5460d04db8917426fb5d759033fd55408
+DIST iw-5.19.tar.xz 152044 BLAKE2B 
57c14b3be0b171b80abcbc71a45f392115f62cc0c3f8440185cb05b42f7a7c901653969a4d5200878b7ceb7aea356d9cf02e07a9fbb282b34372c23561f4fe0a
 SHA512 
ff5c23543806c91eda27c91da923737c74cbccd6acc55f1f45114338f518cd959ca292c9255fd75b91dc127ed016eb235dd97af319e30631578eba6cb0823c6c
 DIST iw-5.9.tar.xz 145296 BLAKE2B 
d7abe6c65d408a7570227dbe69fe11e1d72a1f502de21d1fcb7dcff6bfe229804020d5c1ebdda42a3694e31cf87c631faf089746f8df4733b0b1a459c185e2af
 SHA512 
08b0c8d92c7e695bb2a107b89c3cc406e8386393b65ecbf96ded6fd757043ccd12bedaa90c14138e03e53f107365d04e229633c1cfa024ecab5fe993578491be

diff --git a/net-wireless/iw/iw-5.19.ebuild b/net-wireless/iw/iw-5.19.ebuild
new file mode 100644
index 000000000000..ed510f7f671a
--- /dev/null
+++ b/net-wireless/iw/iw-5.19.ebuild
@@ -0,0 +1,36 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit toolchain-funcs
+
+DESCRIPTION="nl80211 configuration utility for wireless devices using the 
mac80211 stack"
+HOMEPAGE="https://wireless.wiki.kernel.org/en/users/Documentation/iw";
+SRC_URI="https://mirrors.edge.kernel.org/pub/software/network/${PN}/${P}.tar.xz";
+
+LICENSE="ISC"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86 ~amd64-linux 
~x86-linux"
+
+RDEPEND="dev-libs/libnl:="
+DEPEND="${RDEPEND}"
+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 V=1 DESTDIR="${D}" PREFIX="${EPREFIX}/usr" install
+}

Reply via email to