blob: 9ac14656ad35f2d4d7ed13781e42da8cda659305 (
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
|
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/lft/lft-2.5.ebuild,v 1.2 2006/02/15 23:24:09 jokey Exp $
inherit flag-o-matic eutils
DESCRIPTION="Layer Four Traceroute: an advanced traceroute implementation"
HOMEPAGE="http://oppleman.com/lft/"
SRC_URI="mirror://gentoo/${P}.tar.gz"
LICENSE="VOSTROM"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~ppc-macos ~x86"
IUSE=""
DEPEND="net-libs/libpcap"
src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/${P}-installpath.patch
}
src_compile() {
# avoid suid related security issues.
append-ldflags -Wl,-z,now
econf || die
emake || die
}
src_install() {
make DESTDIR=${D} install || die "install failed"
dodoc CHANGELOG README TODO
}
|