diff options
Diffstat (limited to 'net-analyzer/pchar/pchar-1.5-r1.ebuild')
-rw-r--r-- | net-analyzer/pchar/pchar-1.5-r1.ebuild | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/net-analyzer/pchar/pchar-1.5-r1.ebuild b/net-analyzer/pchar/pchar-1.5-r1.ebuild new file mode 100644 index 000000000000..ef41a88924f5 --- /dev/null +++ b/net-analyzer/pchar/pchar-1.5-r1.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=4 + +WANT_AUTOCONF=2.1 +WANT_AUTOMAKE=none + +inherit eutils autotools toolchain-funcs + +DESCRIPTION="Internet bandwidth, latency, and loss of links analyzer" +HOMEPAGE="http://www.kitchenlab.org/www/bmah/Software/pchar/" +SRC_URI="http://www.kitchenlab.org/www/bmah/Software/${PN}/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x86-macos" +IUSE="ipv6 pcap snmp" + +DEPEND=">=dev-libs/openssl-0.9.7 + snmp? ( net-analyzer/net-snmp[ucd-compat(+)] ) + pcap? ( net-libs/libpcap )" + +src_prepare() { + epatch "${FILESDIR}"/${P}-snmp.patch + + eautoreconf +} + +src_configure() { + tc-export CC CXX + + econf --without-suid \ + $(use_with ipv6) \ + $(use_with snmp snmp /usr/lib) \ + $(use_with pcap) +} + +src_install() { + einstall + dodoc FAQ CHANGES README +} |