summaryrefslogtreecommitdiff
blob: 8ce373079dc21f9d098163db8b2905bed8ccbb5f (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-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netio/netio-1.23.ebuild,v 1.6 2004/06/24 22:11:30 agriffis Exp $

DESCRIPTION="a network benchmark for DOS, OS/2, Windows NT and Unix that measures net througput with NetBIOS and TCP/IP protocols."
HOMEPAGE="http://freshmeat.net/projects/netio/"
SRC_URI="http://ftp.leo.org/pub/comp/os/os2/leo/systools/netio123.zip"
LICENSE="free-noncomm"
SLOT="0"
KEYWORDS="x86 ppc ~sparc"
IUSE=""
DEPEND="virtual/glibc
	app-arch/unzip"
RDEPEND="virtual/glibc"
S=${WORKDIR}/

src_compile() {
	emake linux || die
}

src_install() {
	into /usr
	dobin netio

	# to be sure to comply with the license statement in netio.doc,
	# just install everything included in the package to doc
	dodoc netio.doc FILE_ID.DIZ getopt.h netb_1_c.h netbios.h netio.c\
		getopt.o netb_2_c.h netbios.o netio.doc getopt.c Makefile netbios.c\
		netio netio.o

	# also install binaries for other platforms than linux 
	dodoc bin/os2-i386.exe bin/win32-i386.exe
}