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.
48 lines
890 B
48 lines
890 B
2 years ago
|
# Copyright 1999-2022 Gentoo Authors
|
||
13 years ago
|
# Distributed under the terms of the GNU General Public License v2
|
||
|
|
||
2 years ago
|
EAPI=8
|
||
3 years ago
|
|
||
2 years ago
|
inherit autotools
|
||
13 years ago
|
|
||
|
DESCRIPTION="A top like console network traffic visualiser"
|
||
2 years ago
|
HOMEPAGE="https://sourceforge.net/projects/jnettop"
|
||
13 years ago
|
SRC_URI="http://jnettop.kubs.info/dist/${P}.tar.gz"
|
||
|
|
||
|
LICENSE="GPL-2"
|
||
|
SLOT="0"
|
||
3 years ago
|
KEYWORDS="amd64 ~arm ~arm64 ~ppc ~sparc x86 ~amd64-linux ~x86-linux"
|
||
12 years ago
|
IUSE="berkdb ncurses syslog"
|
||
13 years ago
|
|
||
10 years ago
|
RDEPEND="
|
||
|
net-libs/libpcap
|
||
12 years ago
|
>=dev-libs/glib-2.0.1
|
||
|
berkdb? ( =sys-libs/db-4* )
|
||
|
ncurses? ( sys-libs/ncurses )
|
||
10 years ago
|
syslog? ( virtual/logger )
|
||
|
"
|
||
2 years ago
|
DEPEND="${RDEPEND}"
|
||
|
BDEPEND="virtual/pkgconfig"
|
||
13 years ago
|
|
||
2 years ago
|
PATCHES=(
|
||
|
"${FILESDIR}/${P}-asneeded.patch"
|
||
|
"${FILESDIR}/${P}-tinfo.patch"
|
||
|
)
|
||
13 years ago
|
|
||
12 years ago
|
src_prepare() {
|
||
2 years ago
|
default
|
||
13 years ago
|
eautoreconf
|
||
|
}
|
||
|
|
||
12 years ago
|
src_configure() {
|
||
|
econf \
|
||
|
$(use_with ncurses) \
|
||
|
$(use_with berkdb db4) \
|
||
|
$(use_with syslog)
|
||
|
}
|
||
|
|
||
13 years ago
|
src_install() {
|
||
12 years ago
|
default
|
||
|
newdoc .${PN} ${PN}.dotfile
|
||
13 years ago
|
}
|