You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/net-analyzer/flowgrind/flowgrind-0.5.8.ebuild

34 lines
785 B

# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/flowgrind/flowgrind-0.5.8.ebuild,v 1.3 2012/03/21 05:01:40 radhermit Exp $
EAPI="4"
inherit eutils autotools
DESCRIPTION="Network performance measurement tool"
HOMEPAGE="https://launchpad.net/flowgrind"
SRC_URI="https://launchpad.net/${PN}/trunk/${P}/+download/${P}.tar.bz2"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE="debug gsl pcap"
RDEPEND="dev-libs/xmlrpc-c[abyss,curl]
gsl? ( sci-libs/gsl )
pcap? ( net-libs/libpcap )"
DEPEND="${RDEPEND}"
src_prepare() {
epatch "${FILESDIR}"/${P}-cflags.patch
eautoreconf
}
src_configure() {
econf \
$(use_enable debug) \
$(use_enable gsl) \
$(use_enable pcap)
}