diff options
author | Cédric Krier <cedk@gentoo.org> | 2007-09-30 14:23:18 +0000 |
---|---|---|
committer | Cédric Krier <cedk@gentoo.org> | 2007-09-30 14:23:18 +0000 |
commit | 43d0799fa06b894db307f7030b7017f4ea5c9105 (patch) | |
tree | d9bc7036f05b0de25dc1e541eb63e0a09ca1f9bc /net-analyzer/traceroute/traceroute-2.0.9-r1.ebuild | |
parent | LICENSE update. (diff) | |
download | gentoo-2-43d0799fa06b894db307f7030b7017f4ea5c9105.tar.gz gentoo-2-43d0799fa06b894db307f7030b7017f4ea5c9105.tar.bz2 gentoo-2-43d0799fa06b894db307f7030b7017f4ea5c9105.zip |
Fix manpath for bug #191293
(Portage version: 2.1.3.9)
Diffstat (limited to 'net-analyzer/traceroute/traceroute-2.0.9-r1.ebuild')
-rw-r--r-- | net-analyzer/traceroute/traceroute-2.0.9-r1.ebuild | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/net-analyzer/traceroute/traceroute-2.0.9-r1.ebuild b/net-analyzer/traceroute/traceroute-2.0.9-r1.ebuild new file mode 100644 index 000000000000..6c70caabebc9 --- /dev/null +++ b/net-analyzer/traceroute/traceroute-2.0.9-r1.ebuild @@ -0,0 +1,41 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/traceroute/traceroute-2.0.9-r1.ebuild,v 1.1 2007/09/30 14:23:18 cedk Exp $ + +inherit eutils flag-o-matic toolchain-funcs + +DESCRIPTION="Utility to trace the route of IP packets" +HOMEPAGE="http://dmitry.butskoy.name/traceroute" +SRC_URI="http://www.odu.neva.ru/buc/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" + +DEPEND="" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${PN}-2.0.8-prestrip.patch + epatch "${FILESDIR}"/${PN}-2.0.8-man.patch + use static && append-ldflags -static +} + +src_compile() { + tc-export CC AR RANLIB + emake env=yes || die +} + +src_install() { + emake \ + DESTDIR="${D}" \ + prefix="/usr" \ + libdir="/usr/$(get_libdir)" \ + install \ + || die + + doman traceroute/traceroute.8 + dodoc ChangeLog CREDITS README TODO +} |