diff options
author | Jeroen Roovers <jer@gentoo.org> | 2016-09-14 15:23:33 +0200 |
---|---|---|
committer | Jeroen Roovers <jer@gentoo.org> | 2016-09-14 15:27:31 +0200 |
commit | 008b9d6bae34bcd311ba4cce6ef50a1e2526e9d4 (patch) | |
tree | 0fd1c5f1aa174e3b10fb2abae6180932e43009a5 /net-analyzer/httping/httping-2.5.ebuild | |
parent | sys-auth/nss-pam-ldapd: cleanup (diff) | |
download | gentoo-008b9d6bae34bcd311ba4cce6ef50a1e2526e9d4.tar.gz gentoo-008b9d6bae34bcd311ba4cce6ef50a1e2526e9d4.tar.bz2 gentoo-008b9d6bae34bcd311ba4cce6ef50a1e2526e9d4.zip |
net-analyzer/httping: Version bump.
Package-Manager: portage-2.3.0
Diffstat (limited to 'net-analyzer/httping/httping-2.5.ebuild')
-rw-r--r-- | net-analyzer/httping/httping-2.5.ebuild | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/net-analyzer/httping/httping-2.5.ebuild b/net-analyzer/httping/httping-2.5.ebuild new file mode 100644 index 000000000000..25937a3776d6 --- /dev/null +++ b/net-analyzer/httping/httping-2.5.ebuild @@ -0,0 +1,71 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit eutils 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 fftw libressl l10n_nl ncurses ssl tfo" + +RDEPEND=" + fftw? ( sci-libs/fftw:3.0 ) + ncurses? ( sys-libs/ncurses:0= ) + ssl? ( + !libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= ) + ) +" +DEPEND=" + ${RDEPEND} + ncurses? ( virtual/pkgconfig ) +" + +# This would bring in test? ( dev-util/cppcheck ) but unlike +# upstream we should only care about compile/run time testing +RESTRICT="test" + +PATCHES=( + "${FILESDIR}"/${PN}-2.2.1-flags.patch +) + +src_prepare() { + default + + # doman does not get PN-LANG.CAT so we move things around and then point at + # it later + if use l10n_nl; then + mkdir nl || die + mv httping-nl.1 nl/httping.1 || die + fi +} + +src_configure() { + # not an autotools script + echo > makefile.inc || die + + use ncurses && LDFLAGS+=" $( $( tc-getPKG_CONFIG ) --libs ncurses )" +} + +src_compile() { + emake \ + CC="$(tc-getCC)" \ + FW=$(usex fftw) \ + DEBUG=$(usex debug) \ + NC=$(usex ncurses) \ + SSL=$(usex ssl) \ + TFO=$(usex tfo) +} + +src_install() { + dobin httping + doman httping.1 + + use l10n_nl && doman -i18n=nl nl/httping.1 +} |