blob: 8b20eb0c5b03742a4f0b76ea2c4b4c94227f64b2 (
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
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-analyzer/thrulay/thrulay-0.6.ebuild,v 1.2 2005/06/04 20:17:14 swegener Exp $
inherit toolchain-funcs
DESCRIPTION="Measure the capacity of a network by sending a bulk TCP stream over it."
HOMEPAGE="http://www.internet2.edu/~shalunov/thrulay/"
SRC_URI="${HOMEPAGE}${P}.tar.gz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~x86"
IUSE=""
DEPEND=""
src_compile() {
emake CC="$(tc-getCC)" OPT="${CFLAGS}" || die "emake failed"
}
src_install() {
dobin thrulay || die "dobin failed"
dosbin thrulayd || die "dosbin failed"
dodoc LICENSE README TODO thrulay-protocol.txt || die "dodoc failed"
newinitd "${FILESDIR}"/thrulayd-init.d thrulayd || die "newinitd failed"
newconfd "${FILESDIR}"/thrulayd-conf.d thrulayd || die "newconfd failed"
}
|