diff options
author | Patrice Clement <monsieurp@gentoo.org> | 2017-01-15 20:00:20 +0100 |
---|---|---|
committer | Patrice Clement <monsieurp@gentoo.org> | 2017-01-15 22:13:55 +0100 |
commit | 8d6912a5539acbdf40ebe6079b731f95a97b57db (patch) | |
tree | a59fe53721285dd604dfc239d8e21d10a8c88dc4 /net-misc/valve | |
parent | dev-libs/libfastjson: Stable for HPPA (bug #605330). (diff) | |
download | gentoo-8d6912a5539acbdf40ebe6079b731f95a97b57db.tar.gz gentoo-8d6912a5539acbdf40ebe6079b731f95a97b57db.tar.bz2 gentoo-8d6912a5539acbdf40ebe6079b731f95a97b57db.zip |
net-misc/valve: EAPI 6 bump and ebuild cleanup.
Package-Manager: portage-2.3.0
Diffstat (limited to 'net-misc/valve')
-rw-r--r-- | net-misc/valve/valve-1.0-r1.ebuild | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/net-misc/valve/valve-1.0-r1.ebuild b/net-misc/valve/valve-1.0-r1.ebuild new file mode 100644 index 000000000000..3449ec011c61 --- /dev/null +++ b/net-misc/valve/valve-1.0-r1.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +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 +} |