# Copyright 1999-2010 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: $ EAPI=3 inherit eutils toolchain-funcs DESCRIPTION="Traceroute-like application piggybacking on existing TCP connections" HOMEPAGE="http://code.google.com/p/intrace/" SRC_URI="http://${PN}.googlecode.com/files/${P}.tgz" LICENSE="GPL-3" SLOT="0" KEYWORDS="~ppc ~x86" IUSE="" src_prepare() { epatch "${FILESDIR}"/${P}-gentoo.patch } src_compile() { emake \ CC=$(tc-getCC) \ LDFLAGS="${LDFLAGS}" \ CFLAGS="${CFLAGS}" \ || die "emake failed" } src_install() { dosbin intrace || die "dosbin failed" dodoc README ChangeLog || die "dodoc failed" }