commit: 60539d5e9005303c0c453f47d18682d261f910bd Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org> AuthorDate: Fri Jun 3 08:18:43 2016 +0000 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org> CommitDate: Fri Jun 3 08:18:43 2016 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60539d5e
app-benchmarks/httperf: add libressl support Package-Manager: portage-2.2.28 app-benchmarks/httperf/httperf-0.9.0-r3.ebuild | 34 ++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) diff --git a/app-benchmarks/httperf/httperf-0.9.0-r3.ebuild b/app-benchmarks/httperf/httperf-0.9.0-r3.ebuild new file mode 100644 index 0000000..23cfdcc2 --- /dev/null +++ b/app-benchmarks/httperf/httperf-0.9.0-r3.ebuild @@ -0,0 +1,34 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +AUTOTOOLS_AUTORECONF=1 +AUTOTOOLS_IN_SOURCE_BUILD=1 + +inherit autotools-utils toolchain-funcs + +DESCRIPTION="A tool from HP for measuring web server performance" +HOMEPAGE="https://github.com/httperf/httperf" +SRC_URI="https://httperf.googlecode.com/files/${P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~mips ~x86 ~amd64-linux ~x64-macos" +IUSE="debug libressl" + +RDEPEND="!libressl? ( dev-libs/openssl:0= ) + libressl? ( dev-libs/libressl:0= )" +DEPEND="${RDEPEND}" + +DOCS=( AUTHORS ChangeLog NEWS README TODO ) + +src_configure() { + econf --bindir="${EPREFIX}"/usr/bin \ + $(use_enable debug) +} + +src_compile() { + emake CC="$(tc-getCC)" -j1 +}
