/[gentoo-x86]/net-misc/iputils/iputils-9999.ebuild
Gentoo

Contents of /net-misc/iputils/iputils-9999.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.2 - (show annotations) (download)
Sat Feb 9 20:37:40 2008 UTC (11 years, 10 months ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +1 -1 lines
FILE REMOVED
move 9999 to 99999999 #209257
(Portage version: 2.1.4.1)

1 # Copyright 1999-2007 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-misc/iputils/iputils-9999.ebuild,v 1.1 2007/04/30 20:34:35 vapier Exp $
4
5 EGIT_REPO_URI="git://www.linux-ipv6.org/gitroot/iputils"
6 inherit flag-o-matic eutils toolchain-funcs git
7
8 DESCRIPTION="Network monitoring tools including ping and ping6"
9 HOMEPAGE="http://www.skbuff.net/iputils/"
10 SRC_URI=""
11
12 LICENSE="BSD"
13 SLOT="0"
14 KEYWORDS=""
15 IUSE="static ipv6 doc"
16
17 DEPEND="virtual/os-headers
18 doc? (
19 app-text/openjade
20 dev-perl/SGMLSpm
21 app-text/docbook-sgml-dtd
22 app-text/docbook-sgml-utils
23 )"
24 RDEPEND=""
25
26 S=${WORKDIR}/${PN}-s${PV}
27
28 src_unpack() {
29 git_src_unpack
30 cd "${S}"
31 epatch "${FILESDIR}"/iputils-20070202-makefile.patch
32 use static && append-ldflags -static
33 use ipv6 || sed -i -e 's:IPV6_TARGETS=:#IPV6_TARGETS=:' Makefile
34 }
35
36 src_compile() {
37 tc-export CC
38 emake || die "make main failed"
39
40 # We include the extra check for docbook2html
41 # because when we emerge from a stage1/stage2,
42 # it may not exist #23156
43 if use doc && type -p docbook2html ; then
44 emake -j1 html man || die
45 fi
46 }
47
48 src_install() {
49 into /
50 dobin ping || die "ping"
51 use ipv6 && dobin ping6
52 dosbin arping || die "arping"
53 into /usr
54 dosbin tracepath || die "tracepath"
55 use ipv6 && dosbin trace{path,route}6
56 dosbin clockdiff rarpd rdisc ipg tftpd || die "misc sbin"
57
58 fperms 4711 /bin/ping
59 use ipv6 && fperms 4711 /bin/ping6 /usr/sbin/traceroute6
60
61 dodoc INSTALL RELNOTES
62
63 if use doc ; then
64 rm -f doc/setkey.8
65 use ipv6 \
66 && dosym ping.8 /usr/share/man/man8/ping6.8 \
67 || rm -f doc/*6.8
68 doman doc/*.8
69
70 dohtml doc/*.html
71 fi
72 }

  ViewVC Help
Powered by ViewVC 1.1.20