diff options
author | 2024-07-23 20:50:00 +0200 | |
---|---|---|
committer | 2024-08-04 10:03:01 +0300 | |
commit | abe83b7dab48ed00fafd5ad7c6a341e0b9416363 (patch) | |
tree | cbc23778aaa99ed31dfc59cdb05f2145edd6d2e5 /net-wireless | |
parent | net-wireless/wavemon: drop 0.9.4 (diff) | |
download | gentoo-abe83b7dab48ed00fafd5ad7c6a341e0b9416363.tar.gz gentoo-abe83b7dab48ed00fafd5ad7c6a341e0b9416363.tar.bz2 gentoo-abe83b7dab48ed00fafd5ad7c6a341e0b9416363.zip |
net-wireless/wavemon: add 0.9.6
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
Closes: https://github.com/gentoo/gentoo/pull/37691
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'net-wireless')
-rw-r--r-- | net-wireless/wavemon/Manifest | 1 | ||||
-rw-r--r-- | net-wireless/wavemon/wavemon-0.9.6.ebuild | 59 |
2 files changed, 60 insertions, 0 deletions
diff --git a/net-wireless/wavemon/Manifest b/net-wireless/wavemon/Manifest index a9928a799566..1826d7fad8aa 100644 --- a/net-wireless/wavemon/Manifest +++ b/net-wireless/wavemon/Manifest @@ -1,2 +1,3 @@ DIST wavemon-0.9.3.tar.gz 220372 BLAKE2B 383e5462e6f3abf86b3604499764060927321018f9dfaef9b742d933e832e568249e41f348788184e125324f81672f2f2b2ff9ca970c215f95a80ec140e0ca11 SHA512 0e4f6db1dfd1915a3c0e1c9708eea501d7180e80df891d0c5a59bb72d48777731c67a256d2d7d6c748ade8e1a3efad9004f5e13971e0b4e16eefdd4f8c6fe1c1 DIST wavemon-0.9.5.tar.gz 225492 BLAKE2B 492ac0f16da1400b4e9e06af43b1ec8b96303bd33a62f355820975db61efc3b0603e1e3f97be05a69597b9546aeb95e3a2655cb0c45c90aa9f2bd765a06b8884 SHA512 c8abd0d0a2971b937eb2ea51470ec30c9a0e656161a7884cae257a226ef39e0daa8399ef349bbcb370b91a28b6ad0f42acb831524e1f7f5ce43ec244adcb7767 +DIST wavemon-0.9.6.tar.gz 227532 BLAKE2B f468b102397d28a6bcf745f2981911d080764e63547c1dfaf642d7b6b2e6681dae6970fab7cb5e5e0f3e6cf14631131787dab25b990b691197e7f770b0fec6de SHA512 4e8d91fd9710e76c0d000bd61af8e59632d55112c434a1088e2aa0d5ab41a9b040f4c3c16bcf0693d972c7561853a6f3edcd14e2d6a16756b8cd1c9c8f8be644 diff --git a/net-wireless/wavemon/wavemon-0.9.6.ebuild b/net-wireless/wavemon/wavemon-0.9.6.ebuild new file mode 100644 index 000000000000..3c940d85a547 --- /dev/null +++ b/net-wireless/wavemon/wavemon-0.9.6.ebuild @@ -0,0 +1,59 @@ +# Copyright 1999-2024 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit autotools linux-info + +DESCRIPTION="Ncurses based monitor for IEEE 802.11 wireless LAN cards" +HOMEPAGE="https://github.com/uoaerg/wavemon/" +SRC_URI="https://github.com/uoaerg/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-3" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~ppc ~sparc ~x86" + +IUSE="caps" +RDEPEND=" + dev-libs/libnl:3[utils] + sys-libs/ncurses:0= + caps? ( sys-libs/libcap )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +DOCS=( README.md ) + +pkg_pretend() { + local CONFIG_CHECK="~CFG80211" + check_extra_config +} + +src_prepare() { + default + + # Do not install docs to /usr/share + sed -i -e '/^install:/s/install-docs//' Makefile.in || die \ + 'sed on Makefile.in failed' + + # automagic on libcap, discovered in bug #448406 + use caps || export ac_cv_lib_cap_cap_get_flag=false + + eautoreconf +} + +src_configure () { + CFLAGS="${CFLAGS}" econf +} + +src_compile() { + unset CFLAGS + default +} + +src_install() { + default + + # Install man files manually(bug #397807) + doman wavemon.1 + doman wavemonrc.5 +} |