mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 04:59:14 -07:00
net-dns/dnstop: Fix for ncurses[tinfo], thanks Fabio Scaccabarozzi, bug 595068.
Package-Manager: portage-2.2.28
This commit is contained in:
38
net-dns/dnstop/dnstop-20140915-r1.ebuild
Normal file
38
net-dns/dnstop/dnstop-20140915-r1.ebuild
Normal file
@@ -0,0 +1,38 @@
|
||||
# Copyright 1999-2016 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Id$
|
||||
|
||||
EAPI=5
|
||||
|
||||
inherit eutils flag-o-matic
|
||||
|
||||
DESCRIPTION="Displays various tables of DNS traffic on your network"
|
||||
HOMEPAGE="http://dnstop.measurement-factory.com/"
|
||||
SRC_URI="http://dnstop.measurement-factory.com/src/${P}.tar.gz"
|
||||
|
||||
LICENSE="BSD"
|
||||
SLOT="0"
|
||||
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~x86"
|
||||
IUSE="ipv6"
|
||||
|
||||
RDEPEND="sys-libs/ncurses:0
|
||||
net-libs/libpcap[ipv6?]"
|
||||
DEPEND="${RDEPEND}"
|
||||
|
||||
src_prepare() {
|
||||
epatch_user
|
||||
}
|
||||
|
||||
src_configure() {
|
||||
if has_version sys-libs/ncurses:0[tinfo] ; then
|
||||
append-libs -ltinfo #bug 595068
|
||||
fi
|
||||
econf \
|
||||
$(use_enable ipv6)
|
||||
}
|
||||
|
||||
src_install() {
|
||||
dobin dnstop
|
||||
doman dnstop.8
|
||||
dodoc CHANGES
|
||||
}
|
||||
Reference in New Issue
Block a user