diff options
Diffstat (limited to 'net-misc/ethercard-diag/ethercard-diag-20050321.1g.ebuild')
-rw-r--r-- | net-misc/ethercard-diag/ethercard-diag-20050321.1g.ebuild | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/net-misc/ethercard-diag/ethercard-diag-20050321.1g.ebuild b/net-misc/ethercard-diag/ethercard-diag-20050321.1g.ebuild index c9013e391d2..06a430452f7 100644 --- a/net-misc/ethercard-diag/ethercard-diag-20050321.1g.ebuild +++ b/net-misc/ethercard-diag/ethercard-diag-20050321.1g.ebuild @@ -2,6 +2,8 @@ # 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)" @@ -17,11 +19,11 @@ DEPEND="!sys-apps/nictools" 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 } |