summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGöktürk Yüksek <gokturk@gentoo.org>2016-12-28 22:25:41 -0500
committerGöktürk Yüksek <gokturk@gentoo.org>2016-12-28 23:11:23 -0500
commit86138ec8f8a43a01e66270a6e164930424c2c286 (patch)
treecb1d801d1e1fb9353b23f7847d83ac156003e054 /app-benchmarks/httperf/httperf-0.9.1_p20161228.ebuild
parentlicenses: add GPL-2+-with-openssl-exception (diff)
downloadgentoo-86138ec8f8a43a01e66270a6e164930424c2c286.tar.gz
gentoo-86138ec8f8a43a01e66270a6e164930424c2c286.tar.bz2
gentoo-86138ec8f8a43a01e66270a6e164930424c2c286.zip
app-benchmarks/httperf: bump to 0.9.1_p20161228
Upstream hasn't started doing releases on github yet. See: https://github.com/httperf/httperf/issues/34 Package-Manager: portage-2.3.0
Diffstat (limited to 'app-benchmarks/httperf/httperf-0.9.1_p20161228.ebuild')
-rw-r--r--app-benchmarks/httperf/httperf-0.9.1_p20161228.ebuild38
1 files changed, 38 insertions, 0 deletions
diff --git a/app-benchmarks/httperf/httperf-0.9.1_p20161228.ebuild b/app-benchmarks/httperf/httperf-0.9.1_p20161228.ebuild
new file mode 100644
index 00000000000..55a18008241
--- /dev/null
+++ b/app-benchmarks/httperf/httperf-0.9.1_p20161228.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=6
+
+inherit autotools vcs-snapshot
+
+MY_COMMIT_HASH="cc888437e4572ec29a4a7209f34fbd39c31600f5"
+
+DESCRIPTION="A tool from HP for measuring web server performance"
+HOMEPAGE="https://github.com/httperf/httperf"
+SRC_URI="https://github.com/${PN}/${PN}/archive/${MY_COMMIT_HASH}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2+-with-openssl-exception"
+SLOT="0"
+KEYWORDS="~amd64 ~mips ~x86 ~amd64-linux ~x64-macos"
+IUSE="debug libressl idleconn"
+
+RDEPEND="!libressl? ( dev-libs/openssl:0= )
+ libressl? ( dev-libs/libressl:0= )
+ idleconn? ( dev-libs/libevent:0= )"
+DEPEND="${RDEPEND}"
+
+src_prepare() {
+ default
+ eautoreconf
+}
+
+src_configure() {
+ local myeconfargs=(
+ --bindir="${EPREFIX}"/usr/bin
+ $(use_enable debug)
+ $(use_enable idleconn)
+ )
+
+ econf "${myeconfargs[@]}"
+}