blob: 6d8255d70ac8e7e1682a7b80750c7d30683f9615 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netwatch/netwatch-1.0a.ebuild,v 1.4 2005/07/19 15:31:15 dholm Exp $
SRC_URI="http://www.slctech.org/~mackay/${P}.src.tgz"
DESCRIPTION="a ncurses based network monitoring program"
HOMEPAGE="http://www.slctech.org/~mackay/netwatch.html"
LICENSE="GPL-2"
KEYWORDS="~ppc x86"
IUSE=""
SLOT="0"
DEPEND="sys-libs/ncurses
>=sys-apps/sed-4.0.7"
src_unpack() {
unpack ${A}
sed -i "s:<sys/time.h>:<sys/time.h>\n#include <time.h>:" "${S}/netwatch.c"
}
src_compile() {
econf || die
emake || die
}
src_install() {
exeinto /usr/sbin
doexe netwatch netresolv
doman netwatch.1
dodoc BUGS CHANGES COPYING README README.performance TODO
}
|