# Copyright 1999-2004 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License v2 # $Header: $ DESCRIPTION="Tcpping - determine network latency despite ICMP filtering" HOMEPAGE="http://www.kehlet.cx/~kehlet/index.php" SRC_URI="http://www.kehlet.cx/~kehlet/download/${P}.tar.gz" LICENSE="as-is" SLOT="0" IUSE="" S="${WORKDIR}/${PN}" KEYWORDS="~x86" DEPEND=">=net-libs/libnet-1 >=net-libs/libpcap-0.8" src_compile() { echo `pwd` echo ${WORKDIR} emake || die } src_install() { dobin tcpping || die # Make tcpping suid einfo " Setting suid bit on tcpping..." fperms 4511 /usr/bin/tcpping }