summaryrefslogtreecommitdiff
blob: d8fe30575f977def43b6c1122c6c2b8ce35d3b53 (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
33
# 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.1 2003/09/29 15:09:19 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"
	#sed -i "s:/usr/man:${D}/usr/man:" "${S}/Makefile.in"
}

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
}