blob: 833aabf2ff8574df8e57014bbcfb9bc35c0afbb5 (
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
34
35
|
# Copyright 1999-2001 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netperf/netperf-2.2.ebuild,v 1.2 2002/07/11 06:30:43 drobbins Exp $
A=netperf-2.2alpha.tar.gz
S=${WORKDIR}/${PN}-2.2alpha
DESCRIPTION="This is a brief readme file for the netperf TCP/UDP/sockets/etc
performance benchmark tools"
SRC_URI="ftp://ftp.cup.hp.com/dist/networking/benchmarks/netperf/${A}"
HOMEPAGE="http://www.netperf.org/"
DEPEND=""
#RDEPEND=""
src_unpack() {
unpack ${A}
cd ${S}
patch -p0 < ${FILESDIR}/netperf-2.2alpha.diff
}
src_compile() {
try make
#try make
}
src_install () {
exeinto /usr/share/netperf
doexe netperf netserver tcp_range_script tcp_stream_script \
tcp_rr_script udp_stream_script udp_rr_script snapshot_script
dodoc ACKNWLDGMNTS COPYRIGHT README Release_Notes
}
|