You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
594 B
27 lines
594 B
# 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="http://www.fourmilab.ch/webtools/valve"
|
|
SRC_URI="http://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
|
|
}
|