1 # Copyright 1999-2016 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
6 inherit toolchain-funcs
8 DESCRIPTION="low level mii diagnostic tools including mii-diag and etherwake (merge of netdiag/isa-diag)"
9 HOMEPAGE="https://wiki.gentoo.org/wiki/No_homepage"
10 SRC_URI="mirror://gentoo/${P}.tar.lzma"
14 KEYWORDS="~amd64 ~x86"
17 RDEPEND="!sys-apps/nictools"
21 # Since the binary is `ether-wake`, make sure the man page is
22 # `man ether-wake` and not `man etherwake`. #439504
24 -e 's/ETHERWAKE/ETHER-WAKE/' \
25 -e 's/etherwake/ether-wake/' \
26 pub/diag/{etherwake.8,Makefile} patches/* || die
27 mv pub/diag/ether{,-}wake.8 || die