blob: ea7f10e69af713d5d45f558ce32c955b6f7715cf (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/httping/httping-1.5.8.ebuild,v 1.5 2013/05/01 11:15:21 jer Exp $
EAPI=5
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="debug ssl tfo"
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() {
sed -i "/^OFLAGS/d" Makefile || die
}
src_compile() {
emake \
CC="$(tc-getCC)" \
SSL=$(usex ssl) \
TFO=$(usex tfo) \
DEBUG=$(usex debug)
}
src_install() {
dobin httping
doman httping.1
}
|