From: "Conrad Kostecki" <conikost@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-benchmarks/wrk/
Date: Sun, 10 May 2020 16:22:42 +0000 (UTC) [thread overview]
Message-ID: <1589127729.3117fbc5df26ac4b524ef75fdb9e34813ce1f923.conikost@gentoo> (raw)
commit: 3117fbc5df26ac4b524ef75fdb9e34813ce1f923
Author: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
AuthorDate: Sun May 10 14:36:33 2020 +0000
Commit: Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun May 10 16:22:09 2020 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3117fbc5
app-benchmarks/wrk: Fix luajit deps
Closes: https://bugs.gentoo.org/721924
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>
app-benchmarks/wrk/wrk-4.1.0-r2.ebuild | 62 ++++++++++++++++++++++++++++++++++
1 file changed, 62 insertions(+)
diff --git a/app-benchmarks/wrk/wrk-4.1.0-r2.ebuild b/app-benchmarks/wrk/wrk-4.1.0-r2.ebuild
new file mode 100644
index 00000000000..23ba20045cb
--- /dev/null
+++ b/app-benchmarks/wrk/wrk-4.1.0-r2.ebuild
@@ -0,0 +1,62 @@
+# Copyright 1999-2020 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"
+
+CBUILD="dev-lang/luajit:2"
+
+DEPEND="
+ dev-lang/lua:0
+ libressl? ( dev-libs/libressl:0= )
+ !libressl? ( dev-libs/openssl:0= )
+"
+
+RDEPEND="
+ ${CBUILD}
+ ${RDEPEND}
+"
+
+BDEPEND="
+ ${CBUILD}
+ 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
+}
next reply other threads:[~2020-05-10 16:22 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-10 16:22 Conrad Kostecki [this message]
-- strict thread matches above, loose matches on Subject: below --
2022-01-20 22:58 [gentoo-commits] repo/gentoo:master commit in: app-benchmarks/wrk/ Conrad Kostecki
2022-01-20 22:58 Conrad Kostecki
2021-05-01 14:10 Mikle Kolyada
2021-01-03 21:45 Conrad Kostecki
2020-05-10 16:22 Conrad Kostecki
2019-04-13 19:10 Agostino Sarubbo
2018-02-04 22:29 Vikraman Choudhury
2017-10-28 18:22 Vikraman Choudhury
2016-11-07 22:11 Patrice Clement
2016-11-07 22:11 Patrice Clement
2016-06-03 8:39 Anthony G. Basile
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1589127729.3117fbc5df26ac4b524ef75fdb9e34813ce1f923.conikost@gentoo \
--to=conikost@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox