diff options
Diffstat (limited to 'net-analyzer/traceroute/traceroute-2.0.15.ebuild')
-rw-r--r-- | net-analyzer/traceroute/traceroute-2.0.15.ebuild | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/net-analyzer/traceroute/traceroute-2.0.15.ebuild b/net-analyzer/traceroute/traceroute-2.0.15.ebuild new file mode 100644 index 000000000000..f877e6c61a5b --- /dev/null +++ b/net-analyzer/traceroute/traceroute-2.0.15.ebuild @@ -0,0 +1,30 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/traceroute/traceroute-2.0.15.ebuild,v 1.1 2010/07/15 17:19:33 jer Exp $ + +inherit flag-o-matic toolchain-funcs + +DESCRIPTION="Utility to trace the route of IP packets" +HOMEPAGE="http://traceroute.sourceforge.net/" +SRC_URI="mirror://sourceforge/traceroute/${P}.tar.gz" + +LICENSE="GPL-2 LGPL-2.1" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86" +IUSE="static" + +src_compile() { + use static && append-ldflags -static + tc-export CC AR RANLIB + emake env=yes || die +} + +src_install() { + emake \ + DESTDIR="${D}" \ + prefix="/usr" \ + libdir="/usr/$(get_libdir)" \ + install \ + || die + dodoc ChangeLog CREDITS README TODO +} |