blob: 14025561c75d924dacfa9c6c8d43476de9a1d15d (
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-2003 Gentoo Technologies, Inc.
# 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.2 2004/01/21 20:37:49 genone 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="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
}
|