1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
5 inherit toolchain-funcs
7 KEYWORDS="~amd64 ~arm ~ppc ~x86"
9 DESCRIPTION="A simple CLI program for displaying network statistics in real time"
10 HOMEPAGE="http://ifstatus.sourceforge.net/"
11 SRC_URI="mirror://sourceforge/${PN}/${PN}-v${PV}.tar.gz"
16 >=sys-libs/ncurses-4.2:0=
23 "${FILESDIR}"/${PN}-2.0.0-tinfo.patch
25 S="${WORKDIR}/${PN}-v${PV}"
28 tc-export CXX PKG_CONFIG
29 emake GCC=$(tc-getCXX) ${PN}
38 elog "You may want to configure ~/.ifstatus/ifstatus.cfg"
39 elog "before running ifstatus. For example, you may add"
40 elog "Interfaces = eth0 there. Read the README file for"
41 elog "more information."