summaryrefslogtreecommitdiff
blob: 07fc69b290bca1ec5787a3fc9511c251f8f097d7 (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
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/valve/valve-1.0.ebuild,v 1.2 2006/09/30 01:31:58 robbat2 Exp $

DESCRIPTION="copies data while enforcing a specified maximum transfer rate"
HOMEPAGE="http://www.fourmilab.ch/webtools/valve/"
SRC_URI="http://www.fourmilab.ch/webtools/valve/${P}.tar.gz"
LICENSE="public-domain"
SLOT="0"
KEYWORDS="~x86 ~ppc ~amd64"
IUSE="doc"

DEPEND="virtual/libc"

src_compile() {
	econf || die "econf failed"
	emake CTANGLE='' CWEAVE='' || die "emake failed"
}

src_install() {
	dobin valve
	doman valve.1
	dodoc README valve.tex valve.pdf
	dohtml index.html logo.png
}

src_test() {
	emake CTANGLE='' CWEAVE='' check || die "check failed"
}