Lines 2-7
Link Here
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/ethercard-diag/ethercard-diag-20050321.1g.ebuild,v 1.2 2008/04/14 06:00:40 vapier Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/net-misc/ethercard-diag/ethercard-diag-20050321.1g.ebuild,v 1.2 2008/04/14 06:00:40 vapier Exp $ |
4 |
|
4 |
|
|
|
5 |
EAPI="5" |
6 |
|
5 |
inherit toolchain-funcs |
7 |
inherit toolchain-funcs |
6 |
|
8 |
|
7 |
DESCRIPTION="low level mii diagnostic tools including mii-diag and etherwake (merge of netdiag/isa-diag)" |
9 |
DESCRIPTION="low level mii diagnostic tools including mii-diag and etherwake (merge of netdiag/isa-diag)" |
Lines 15-20
Link Here
|
15 |
|
17 |
|
16 |
DEPEND="!sys-apps/nictools" |
18 |
DEPEND="!sys-apps/nictools" |
17 |
|
19 |
|
|
|
20 |
src_prepare() { |
21 |
sed -i -e 's/ETHERWAKE/ETHER-WAKE/' -e 's/etherwake/ether-wake/' \ |
22 |
"${S}"/pub/diag/{etherwake.8,Makefile} "${S}"/patches/* |
23 |
mv "${S}"/pub/diag/ether{,-}wake.8 |
24 |
} |
25 |
|
18 |
src_compile() { |
26 |
src_compile() { |
19 |
tc-export CC AR |
27 |
tc-export CC AR |
20 |
emake || die |
28 |
emake || die |