blob: 5f661bd3f4226dcb2568e10bc9b7bc38b9ca5d98 (
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
39
40
41
42
43
|
# 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.10.ebuild,v 1.1 2004/11/08 12:48:47 eldad Exp $
inherit gcc eutils
DESCRIPTION="Traceroute with AS lookup, TOS support, MTU discovery and other features"
HOMEPAGE="http://packages.debian.org/traceroute-nanog"
MY_PREV=1
SRC_URI="mirror://debian/pool/main/t/traceroute-nanog/${PN}_${PV}.orig.tar.gz
mirror://debian/pool/main/t/traceroute-nanog/${PN}_${PV}-${MY_PREV}.diff.gz"
RESTRICT="nomirror"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
DEPEND="virtual/libc"
S=${S}.orig
src_unpack() {
unpack ${A}
cd ${S}
epatch ${WORKDIR}/${PN}_${PV}-${MY_PREV}.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
}
|