blob: 9754d874dcc9761d24f9daa6db0f36d4cee033c2 (
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
38
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/traceroute-nanog/traceroute-nanog-6.3.9.ebuild,v 1.3 2004/07/14 05:32:10 eldad Exp $
inherit gcc eutils
DESCRIPTION="Traceroute with AS lookup, TOS support, MTU discovery and other features"
HOMEPAGE="http://packages.debian.org/traceroute-nanog"
SRC_URI="mirror://debian/pool/main/t/traceroute-nanog/${PN}_${PV}.orig.tar.gz
mirror://debian/pool/main/t/traceroute-nanog/${PN}_${PV}-3.diff.gz"
RESTRICT="nomirror"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
DEPEND="virtual/libc"
src_unpack() {
unpack ${A}
cd ${S}
epatch ${WORKDIR}/${PN}_${PV}-3.diff
}
src_compile() {
$(gcc-getCC) traceroute.c -o ${PN} ${CFLAGS} -lresolv -lm || die "Compile failed"
}
src_install() {
dosbin traceroute-nanog
dodoc 0_readme.txt faq.txt
mv debian/traceroute.8 traceroute-nanog.8
doman traceroute-nanog.8
}
|