net-wireless/wavemon: Adding kernel configuration check

Package-Manager: Portage-3.0.9, Repoman-3.0.2
Signed-off-by: Alarig Le Lay <alarig@swordarmor.fr>
This commit is contained in:
Alarig Le Lay 2020-12-02 13:05:22 +01:00
parent 5135c25042
commit 0a1f430a20
Signed by: alarig
GPG Key ID: 7AFE62C6DF8BCDEC
1 changed files with 7 additions and 1 deletions

View File

@ -3,7 +3,7 @@
EAPI=7
inherit autotools toolchain-funcs
inherit autotools linux-info toolchain-funcs
DESCRIPTION="Ncurses based monitor for IEEE 802.11 wireless LAN cards"
HOMEPAGE="https://github.com/uoaerg/wavemon/"
@ -25,6 +25,12 @@ PATCHES=(
"${FILESDIR}/${P}-build.patch"
)
pkg_pretend() {
local CONFIG_CHECK="~CFG80211_WEXT"
check_extra_config
}
src_prepare() {
# Do not install docs to /usr/share
sed -i -e '/^install:/s/install-docs//' Makefile.in || die \