diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /app-benchmarks/sysbench/sysbench-1.0.6.ebuild |
reinit the tree, so we can have metadata
Diffstat (limited to 'app-benchmarks/sysbench/sysbench-1.0.6.ebuild')
-rw-r--r-- | app-benchmarks/sysbench/sysbench-1.0.6.ebuild | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/app-benchmarks/sysbench/sysbench-1.0.6.ebuild b/app-benchmarks/sysbench/sysbench-1.0.6.ebuild new file mode 100644 index 000000000000..60f103474a06 --- /dev/null +++ b/app-benchmarks/sysbench/sysbench-1.0.6.ebuild @@ -0,0 +1,55 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="6" + +DESCRIPTION="System performance benchmark" +HOMEPAGE="https://github.com/akopytov/sysbench" +SRC_URI="https://github.com/akopytov/sysbench/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="GPL-2+" +SLOT="0" +KEYWORDS="amd64 x86" +IUSE="aio mysql postgres test" + +RDEPEND="aio? ( dev-libs/libaio ) + mysql? ( virtual/libmysqlclient ) + postgres? ( dev-db/postgresql:= )" +DEPEND="${RDEPEND} + app-editors/vim-core + dev-lang/luajit:= + dev-libs/concurrencykit + dev-libs/libxslt + sys-devel/libtool:= + virtual/pkgconfig + test? ( dev-util/cram )" + +src_prepare() { + default + + sed -i -e "/^htmldir =/s:=.*:=/usr/share/doc/${PF}/html:" doc/Makefile.am || die + + # remove bundled libs + rm -r third_party/luajit/luajit third_party/concurrency_kit/ck third_party/cram || die + + ./autogen.sh || die +} + +src_configure() { + local myeconfargs=( + $(use_enable aio aio) + $(use_with mysql mysql) + $(use_with postgres pgsql) + --without-attachsql + --without-drizzle + --without-oracle + --with-system-luajit + --with-system-ck + ) + + econf "${myeconfargs[@]}" +} + +src_test() { + emake check test +} |