summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVikraman Choudhury <vikraman@gentoo.org>2017-10-28 14:21:21 -0400
committerVikraman Choudhury <vikraman@gentoo.org>2017-10-28 14:21:47 -0400
commit522d9f90f80de1ddb497a24a7a8223b0d06d4244 (patch)
treea5b9444c75ce60e5cb6b300b688af498f700a64e /app-benchmarks/wrk/wrk-4.0.2.ebuild
parentdev-db/mysql-cluster: Security cleanup (bug #635708) (diff)
downloadgentoo-522d9f90f80de1ddb497a24a7a8223b0d06d4244.tar.gz
gentoo-522d9f90f80de1ddb497a24a7a8223b0d06d4244.tar.bz2
gentoo-522d9f90f80de1ddb497a24a7a8223b0d06d4244.zip
app-benchmarks/wrk: Bump up to version 4.0.2
Package-Manager: Portage-2.3.12, Repoman-2.3.1
Diffstat (limited to 'app-benchmarks/wrk/wrk-4.0.2.ebuild')
-rw-r--r--app-benchmarks/wrk/wrk-4.0.2.ebuild32
1 files changed, 32 insertions, 0 deletions
diff --git a/app-benchmarks/wrk/wrk-4.0.2.ebuild b/app-benchmarks/wrk/wrk-4.0.2.ebuild
new file mode 100644
index 000000000000..990d52d0c66d
--- /dev/null
+++ b/app-benchmarks/wrk/wrk-4.0.2.ebuild
@@ -0,0 +1,32 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit eutils
+
+DESCRIPTION="A modern HTTP benchmarking tool"
+HOMEPAGE="https://github.com/wg/wrk"
+SRC_URI="https://github.com/wg/${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~x86 ~amd64"
+IUSE="libressl"
+
+DEPEND=">=dev-lang/luajit-2.0.2
+ !libressl? ( dev-libs/openssl:0= )
+ libressl? ( dev-libs/libressl:0= )"
+RDEPEND="${DEPEND}"
+
+src_compile() {
+ tc-export CC
+ emake VER="${PV}" WITH_LUAJIT="${EPREFIX}"/usr WITH_OPENSSL="${EPREFIX}"/usr
+}
+
+src_install() {
+ dobin ${PN}
+ dodoc README NOTICE
+ insinto /usr/share/${PN}
+ doins -r scripts
+}