# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/xtraceroute/xtraceroute-0.9.1.ebuild,v 1.12 2005/09/03 22:44:33 eradicator Exp $ inherit eutils flag-o-matic DESCRIPTION="rip query tool from GateD" SRC_URI="http://www.funet.fi/pub/unix/tcpip/gated/gated-3-6.tar.gz http://netsw.org/net/ip/routing/gated-3-6.tar.gz" HOMEPAGE="http://www.gated.org" KEYWORDS="~x86" LICENSE="gated-3-6.license" SLOT="0" IUSE="" DEPEND="" S="${WORKDIR}/gated-public-3_6" pkg_setup() { check_license ${FILESDIR}/${LICENSE} } src_compile() { cd ${S} econf \ --with-cflags=-O2 || die "econf failed" emake -j1 depend || die "emake depend failed" emake -j1 || die "emake failed" } src_install () { dobin ${S}/src/ripquery/ripquery || die "dobin failed" doman ${FILESDIR}/ripquery.8 || die "doman failed" }