/[gentoo-x86]/net-misc/ethercard-diag/ethercard-diag-20050321.1g-r1.ebuild
Gentoo

Contents of /net-misc/ethercard-diag/ethercard-diag-20050321.1g-r1.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Fri Aug 7 05:19:56 2015 UTC (4 years, 4 months ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Rename man page to match binary name #439504 by Roland Hopferwieser.  Update to EAPI=5.  Keep all binaries in /usr.

(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key D2E96200)

1 # Copyright 1999-2015 Gentoo Foundation
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 $
4
5 EAPI="5"
6
7 inherit toolchain-funcs
8
9 DESCRIPTION="low level mii diagnostic tools including mii-diag and etherwake (merge of netdiag/isa-diag)"
10 HOMEPAGE="ftp://ftp.scyld.com/pub/diag/ ftp://ftp.scyld.com/pub/isa-diag/"
11 SRC_URI="mirror://gentoo/${P}.tar.lzma"
12
13 LICENSE="GPL-2"
14 SLOT="0"
15 KEYWORDS="~amd64 ~x86"
16 IUSE=""
17
18 RDEPEND="!sys-apps/nictools"
19
20 src_prepare() {
21 # Since the binary is `ether-wake`, make sure the man page is
22 # `man ether-wake` and not `man etherwake`. #439504
23 sed -i \
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
28 }
29
30 src_compile() {
31 tc-export CC AR
32 emake
33 }

  ViewVC Help
Powered by ViewVC 1.1.20