Closes: https://github.com/gentoo/gentoo/pull/3271
# Distributed under the terms of the GNU General Public License v2
# $Id$
-EAPI="5"
+EAPI="6"
inherit toolchain-funcs
RDEPEND="!sys-apps/nictools"
src_prepare() {
+ default
# Since the binary is `ether-wake`, make sure the man page is
# `man ether-wake` and not `man etherwake`. #439504
sed -i \
src_compile() {
tc-export CC AR
- emake
+ default
}
# Distributed under the terms of the GNU General Public License v2
# $Id$
+EAPI="6"
+
inherit toolchain-funcs
DESCRIPTION="low level mii diagnostic tools including mii-diag and etherwake (merge of netdiag/isa-diag)"
src_compile() {
tc-export CC AR
- emake || die
+ default
}
src_install() {
- emake DESTDIR="${D}" install || die
+ default
dodir /sbin
- mv "${D}"/usr/sbin/{mii-diag,ether-wake} "${D}"/sbin/ || die
+ mv "${ED%/}"/usr/sbin/{mii-diag,ether-wake} "${ED%/}"/sbin/ || die
}