blob: f2ebd6fefbd1392f9f219f0ddcb53c73773a07a4 (
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
36
37
|
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/netperf/netperf-2.2.ebuild,v 1.11 2004/06/24 22:11:51 agriffis Exp $
MY_P=${P}alpha
S=${WORKDIR}/${P}alpha
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/${MY_P}.tar.gz"
HOMEPAGE="http://www.netperf.org/"
DEPEND=""
SLOT="0"
LICENSE="HP"
KEYWORDS="x86 sparc ia64 alpha"
src_unpack() {
unpack ${A}
cd ${S}
patch -p0 < ${FILESDIR}/netperf-2.2alpha.diff
}
src_compile() {
make || die
}
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
}
|