1 # Copyright 1999-2019 Gentoo Authors
2 # Distributed under the terms of the GNU General Public License v2
6 inherit autotools pax-utils
8 DESCRIPTION="System performance benchmark"
9 HOMEPAGE="https://github.com/akopytov/sysbench"
10 SRC_URI="https://github.com/akopytov/sysbench/archive/${PV}.tar.gz -> ${P}.tar.gz"
14 KEYWORDS="~amd64 ~x86"
15 IUSE="aio mysql postgres test"
17 RDEPEND="aio? ( dev-libs/libaio )
18 mysql? ( dev-db/mysql-connector-c:= )
19 postgres? ( dev-db/postgresql:= )
22 dev-libs/concurrencykit
26 test? ( dev-util/cram )"
32 rm -r third_party/luajit/luajit third_party/concurrency_kit/ck third_party/cram || die
41 $(use_with postgres pgsql)
49 econf "${myeconfargs[@]}"
59 pax-mark m "${ED}"/usr/bin/${PN}