# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/httping/httping-1.2.9-r1.ebuild,v 1.1 2009/08/09 14:16:05 ssuominen Exp $ inherit flag-o-matic toolchain-funcs DESCRIPTION="http protocol ping-like program" HOMEPAGE="http://www.vanheusden.com/httping/" SRC_URI="http://www.vanheusden.com/${PN}/${P}.tgz" LICENSE="GPL-2" SLOT="0" KEYWORDS="~amd64 ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86" IUSE="ssl" RDEPEND=">=sys-libs/ncurses-5 ssl? ( dev-libs/openssl )" DEPEND="${RDEPEND}" src_compile() { local makefile use ssl || makefile="-f Makefile.nossl" append-flags -Dstrndup=strndup emake CC="$(tc-getCC)" ${makefile} || die "emake failed" } src_install() { dobin httping || die "dobin failed" doman httping.1 || die "doman failed" dodoc readme.txt || die "dodoc failed" }