summaryrefslogtreecommitdiff
blob: 52f73b5320cee422e396b333a5be91cd05e49892 (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-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

EAPI=6

DESCRIPTION="Copy data while enforcing a specified maximum transfer rate"
HOMEPAGE="https://www.fourmilab.ch/webtools/valve/"
SRC_URI="https://www.fourmilab.ch/webtools/valve/${P}.tar.gz"

LICENSE="public-domain"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE="test doc"

DOCS=( README INSTALL valve.pdf )

src_test() {
	emake check
}

src_install() {
	dodir /usr/share/man/man1 /usr/bin
	emake DESTDIR="${D}" install
	use doc && local HTML_DOCS=( index.html logo.png )
	einstalldocs
}