diff options
Diffstat (limited to 'net-analyzer/httping/httping-1.5.6.ebuild')
-rw-r--r-- | net-analyzer/httping/httping-1.5.6.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/net-analyzer/httping/httping-1.5.6.ebuild b/net-analyzer/httping/httping-1.5.6.ebuild new file mode 100644 index 000000000000..8f4d1ff9c0a9 --- /dev/null +++ b/net-analyzer/httping/httping-1.5.6.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/httping/httping-1.5.6.ebuild,v 1.1 2012/12/10 13:14:46 jer Exp $ + +EAPI=4 +inherit eutils 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="debug ssl" + +RDEPEND=" + >=sys-libs/ncurses-5 + ssl? ( dev-libs/openssl ) +" +DEPEND="${RDEPEND}" + +# This would bring in test? ( dev-util/cppcheck ) but unlike +# upstream we should only care about compile/run time testing +RESTRICT="test" + +src_prepare() { + epatch "${FILESDIR}"/${PN}-1.5.6-help.patch + sed -i "/^OFLAGS/d" Makefile || die +} + +src_compile() { + emake \ + CC="$(tc-getCC)" \ + SSL=$(usex ssl) \ + DEBUG=$(usex debug) +} + +src_install() { + dobin httping + doman httping.1 + dodoc readme.txt +} |