gentoo/app-benchmarks/httperf/httperf-0.9.1_p20181111-r1.ebuild
Fabian Groffen 2d25fad95c
*/*: drop *-linux keywords
Bug: https://bugs.gentoo.org/473598
Bug: https://bugs.gentoo.org/720224
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
2025-12-19 10:51:55 +01:00

40 lines
799 B
Bash

# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
COMMIT="00bf5dab6fd284aa559f125964f5fe6dc0f23595"
inherit autotools
DESCRIPTION="A tool from HP for measuring web server performance"
HOMEPAGE="https://github.com/httperf/httperf"
SRC_URI="https://github.com/${PN}/${PN}/archive/${COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${COMMIT}"
LICENSE="GPL-2+-with-openssl-exception"
SLOT="0"
KEYWORDS="amd64 ~mips x86 ~x64-macos"
IUSE="debug idleconn"
DEPEND="
idleconn? ( dev-libs/libevent:0= )
dev-libs/openssl:0=
"
RDEPEND="${DEPEND}"
src_prepare() {
default
eautoreconf
}
src_configure() {
local myeconfargs=(
--bindir="${EPREFIX}"/usr/bin
$(use_enable debug)
$(use_enable idleconn)
)
econf "${myeconfargs[@]}"
}