blob: 6dcd288d63aa9184fbd16525652b4e29c6dd9a41 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/traceroute/traceroute-1.4_p12-r6.ebuild,v 1.1 2008/01/30 18:16:07 pva Exp $
inherit eutils flag-o-matic
MY_P="${PN}-${PV/_p/a}"
PATCH_VER="1.6"
DESCRIPTION="Utility to trace the route of IP packets"
HOMEPAGE="http://ee.lbl.gov/"
SRC_URI="ftp://ee.lbl.gov/${MY_P}.tar.gz
mirror://gentoo/${P}-patches-${PATCH_VER}.tar.bz2"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
IUSE="static"
DEPEND=""
S=${WORKDIR}/${MY_P}
src_unpack() {
unpack ${A}
cd "${S}"
EPATCH_SUFFIX="patch" epatch "${WORKDIR}"/patch
use static && append-ldflags -static
}
src_install() {
dosbin traceroute || die "dosbin"
fowners root:wheel /usr/sbin/traceroute
fperms 4711 /usr/sbin/traceroute
doman traceroute.8
dodoc CHANGES
}
|