diff options
author | 2018-11-09 12:12:00 +0100 | |
---|---|---|
committer | 2019-01-20 23:56:30 +0100 | |
commit | 3699f64fa928e498f86e3d6761ff2d20712042cd (patch) | |
tree | 31fa5f956a516916f1a5689dac94f17afe686d96 /app-benchmarks/wrk/wrk-4.1.0-r1.ebuild | |
parent | dev-util/pkgcheck: don't run pplugincache for all py versions (diff) | |
download | gentoo-3699f64fa928e498f86e3d6761ff2d20712042cd.tar.gz gentoo-3699f64fa928e498f86e3d6761ff2d20712042cd.tar.bz2 gentoo-3699f64fa928e498f86e3d6761ff2d20712042cd.zip |
app-benchmarks/wrk: bump to EAPI 7.
I will also proxy maintain this package.
Signed-off-by: Conrad Kostecki <conrad@kostecki.com>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Closes: https://github.com/gentoo/gentoo/pull/10374
Signed-off-by: Patrice Clement <monsieurp@gentoo.org>
Diffstat (limited to 'app-benchmarks/wrk/wrk-4.1.0-r1.ebuild')
-rw-r--r-- | app-benchmarks/wrk/wrk-4.1.0-r1.ebuild | 54 |
1 files changed, 54 insertions, 0 deletions
diff --git a/app-benchmarks/wrk/wrk-4.1.0-r1.ebuild b/app-benchmarks/wrk/wrk-4.1.0-r1.ebuild new file mode 100644 index 00000000000..3a9e5c1ade6 --- /dev/null +++ b/app-benchmarks/wrk/wrk-4.1.0-r1.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit toolchain-funcs + +DESCRIPTION="A HTTP benchmarking tool" +HOMEPAGE="https://www.github.com/wg/wrk" +SRC_URI="https://www.github.com/wg/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz" + +KEYWORDS="~amd64 ~x86" +LICENSE="Apache-2.0 BSD MIT" +SLOT="0" +IUSE="libressl" + +RDEPEND=" + dev-lang/lua:0 + dev-lang/luajit:2 + libressl? ( dev-libs/libressl:0= ) + !libressl? ( dev-libs/openssl:0= ) +" + +DEPEND="${RDEPEND}" +BDEPEND="virtual/pkgconfig" + +DOCS=( + "CHANGES" + "NOTICE" + "README.md" + "SCRIPTING" +) + +PATCHES=( "${FILESDIR}/${P}-r1-makefile.patch" ) + +src_compile() { + myemakeargs=( + CC="$(tc-getCC)" + VER="${PV}" + WITH_LUAJIT="/usr" + WITH_OPENSSL="/usr" + ) + + emake "${myemakeargs[@]}" +} + +src_install() { + dobin wrk + + insinto /usr/share/wrk + doins -r scripts + + einstalldocs +} |