/[gentoo-x86]/net-analyzer/pchar/pchar-1.5.ebuild
Gentoo

Contents of /net-analyzer/pchar/pchar-1.5.ebuild

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.7 - (show annotations) (download)
Mon Aug 20 03:38:48 2012 UTC (9 months ago) by flameeyes
Branch: MAIN
CVS Tags: HEAD
Changes since 1.6: +1 -1 lines
FILE REMOVED
Bump to EAPI=4 to be able to depend on ucd-compat for net-snmp; also respect CXX setting and don't depend on automake (unneeded).

(Portage version: 2.2.0_alpha120/cvs/Linux x86_64)

1 # Copyright 1999-2010 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
3 # $Header: /var/cvsroot/gentoo-x86/net-analyzer/pchar/pchar-1.5.ebuild,v 1.6 2010/01/01 17:45:35 fauli Exp $
4
5 WANT_AUTOMAKE="latest"
6 WANT_AUTOCONF="2.1"
7
8 inherit eutils autotools
9
10 DESCRIPTION="Internet bandwidth, latency, and loss of links analyzer."
11 HOMEPAGE="http://www.kitchenlab.org/www/bmah/Software/pchar/"
12 SRC_URI="http://www.kitchenlab.org/www/bmah/Software/${PN}/${P}.tar.gz"
13
14 LICENSE="BSD"
15 SLOT="0"
16 KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux ~x86-macos"
17 IUSE="ipv6 pcap snmp"
18
19 DEPEND=">=dev-libs/openssl-0.9.7
20 snmp? ( net-analyzer/net-snmp )
21 pcap? ( net-libs/libpcap )"
22
23 src_unpack() {
24 unpack ${A}
25 cd "${S}"
26
27 epatch "${FILESDIR}"/${P}-snmp.patch
28
29 eautoreconf
30 }
31
32 src_compile() {
33 econf --without-suid \
34 $(use_with ipv6) \
35 $(use_with snmp snmp /usr/lib) \
36 $(use_with pcap)
37 }
38
39 src_install() {
40 einstall
41 dodoc FAQ CHANGES README
42 }

  ViewVC Help
Powered by ViewVC 1.1.13