Gentoo Archives: gentoo-commits

From: Joonas Niilola <juippis@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-benchmarks/sysbench/
Date: Sat, 17 Aug 2019 15:49:58
Message-Id: 1566056983.7b272790754d30c31beb1d4ec8de5223c256752a.juippis@gentoo
1 commit: 7b272790754d30c31beb1d4ec8de5223c256752a
2 Author: Tomas Mozes <hydrapolic <AT> gmail <DOT> com>
3 AuthorDate: Fri Aug 16 13:30:25 2019 +0000
4 Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org>
5 CommitDate: Sat Aug 17 15:49:43 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7b272790
7
8 app-benchmarks/sysbench: sync live ebuild
9
10 Signed-off-by: Tomáš Mózes <hydrapolic <AT> gmail.com>
11 Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>
12
13 app-benchmarks/sysbench/sysbench-9999.ebuild | 24 +++++++++++++-----------
14 1 file changed, 13 insertions(+), 11 deletions(-)
15
16 diff --git a/app-benchmarks/sysbench/sysbench-9999.ebuild b/app-benchmarks/sysbench/sysbench-9999.ebuild
17 index 6873945f546..4787bb37870 100644
18 --- a/app-benchmarks/sysbench/sysbench-9999.ebuild
19 +++ b/app-benchmarks/sysbench/sysbench-9999.ebuild
20 @@ -1,26 +1,25 @@
21 -# Copyright 1999-2018 Gentoo Foundation
22 +# Copyright 1999-2019 Gentoo Authors
23 # Distributed under the terms of the GNU General Public License v2
24
25 -EAPI="6"
26 +EAPI=7
27
28 -inherit git-r3
29 +inherit autotools git-r3 pax-utils
30
31 DESCRIPTION="System performance benchmark"
32 HOMEPAGE="https://github.com/akopytov/sysbench"
33 -
34 EGIT_REPO_URI="https://github.com/akopytov/sysbench.git"
35
36 LICENSE="GPL-2+"
37 SLOT="0"
38 KEYWORDS=""
39 IUSE="aio mysql postgres test"
40 +RESTRICT="!test? ( test )"
41
42 RDEPEND="aio? ( dev-libs/libaio )
43 mysql? ( virtual/libmysqlclient )
44 postgres? ( dev-db/postgresql:= )
45 dev-lang/luajit:="
46 DEPEND="${RDEPEND}
47 - app-editors/vim-core
48 dev-libs/concurrencykit
49 dev-libs/libxslt
50 sys-devel/libtool
51 @@ -33,17 +32,14 @@ src_prepare() {
52 # remove bundled libs
53 rm -r third_party/luajit/luajit third_party/concurrency_kit/ck third_party/cram || die
54
55 - ./autogen.sh || die
56 + eautoreconf
57 }
58
59 src_configure() {
60 local myeconfargs=(
61 - $(use_enable aio aio)
62 - $(use_with mysql mysql)
63 + $(use_enable aio)
64 + $(use_with mysql)
65 $(use_with postgres pgsql)
66 - --without-attachsql
67 - --without-drizzle
68 - --without-oracle
69 --with-system-luajit
70 --with-system-ck
71 )
72 @@ -54,3 +50,9 @@ src_configure() {
73 src_test() {
74 emake check test
75 }
76 +
77 +src_install() {
78 + default
79 +
80 + pax-mark m "${ED}"/usr/bin/${PN}
81 +}