1 # Copyright 1999-2017 Gentoo Foundation
2 # Distributed under the terms of the GNU General Public License v2
8 DESCRIPTION="System performance benchmark"
9 HOMEPAGE="https://github.com/akopytov/sysbench"
11 EGIT_REPO_URI="https://github.com/akopytov/sysbench.git"
16 IUSE="aio mysql postgres test"
18 RDEPEND="aio? ( dev-libs/libaio )
19 mysql? ( virtual/libmysqlclient )
20 postgres? ( dev-db/postgresql:= )"
24 dev-libs/concurrencykit
28 test? ( dev-util/cram )"
34 rm -r third_party/luajit/luajit third_party/concurrency_kit/ck third_party/cram || die
42 $(use_with mysql mysql)
43 $(use_with postgres pgsql)
51 econf "${myeconfargs[@]}"