blob: 7c3b9223db683b0f2201f4833d85fb14775417c5 (
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-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/tcptraceroute/tcptraceroute-1.5_beta6.ebuild,v 1.5 2005/05/22 16:49:12 dertobi123 Exp $
inherit flag-o-matic
MY_P=${P/_beta/beta}
MY_PV=${PV/_beta/beta}
S=${WORKDIR}/${MY_P}
DESCRIPTION="tcptraceroute is a traceroute implementation using TCP packets"
HOMEPAGE="http://michael.toren.net/code/tcptraceroute/"
SRC_URI="http://michael.toren.net/code/tcptraceroute/${MY_P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ppc sparc amd64"
IUSE=""
DEPEND="virtual/libpcap
net-libs/libnet"
src_compile() {
append-ldflags -Wl,-z,now
econf || die
emake || die
}
src_install() {
dosbin tcptraceroute
fperms 4710 /usr/sbin/tcptraceroute
fowners root:wheel /usr/sbin/tcptraceroute
doman tcptraceroute.1
dodoc examples.txt COPYING README ChangeLog
dohtml -r ./
}
|