1 |
commit: 86acf5b90c78c9b8687e7f9e9b1a71b410722919 |
2 |
Author: Tomas Mozes <hydrapolic <AT> gmail <DOT> com> |
3 |
AuthorDate: Fri Aug 16 13:23:09 2019 +0000 |
4 |
Commit: Joonas Niilola <juippis <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Aug 17 15:49:39 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=86acf5b9 |
7 |
|
8 |
app-benchmarks/sysbench: bump to 1.0.17 |
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/Manifest | 1 + |
14 |
app-benchmarks/sysbench/sysbench-1.0.17.ebuild | 61 ++++++++++++++++++++++++++ |
15 |
2 files changed, 62 insertions(+) |
16 |
|
17 |
diff --git a/app-benchmarks/sysbench/Manifest b/app-benchmarks/sysbench/Manifest |
18 |
index c58acf7cf63..e25bf01c2a0 100644 |
19 |
--- a/app-benchmarks/sysbench/Manifest |
20 |
+++ b/app-benchmarks/sysbench/Manifest |
21 |
@@ -1,3 +1,4 @@ |
22 |
DIST sysbench-1.0.10.tar.gz 1496937 BLAKE2B d2cf3283a2e2cac89a54e51e975eecec4b5514c08b14fe81138dc36b077e82de54cb3c5d218e1cc00dc6bff66319d780c69249c49c93e810d3ebde3c0b36b656 SHA512 3e2c9597538c9b71a50a0fb0e198f8852206fc609b0968253ee6b12f652fd56f1b2c6e7a4c93161b725e5c56193f7ce9d5cf58c4882839a4c1055c539861d16d |
23 |
DIST sysbench-1.0.15.tar.gz 1507930 BLAKE2B d4f18b08a122b8574b916b5ddadf69dd37718ac94642fb8d31582c79788569190a26fad3b3cccaadb695a65a3b9efda59943e32947a709918b3fb6d80aee6cac SHA512 ff68ad15c037006a2a49e3d59062611062336860205816ca6d9cdd20832fc55b631960411caa718dff881e926196046a7317b33e803061868e524a819569d3a2 |
24 |
DIST sysbench-1.0.16.tar.gz 1508595 BLAKE2B 0cd7818097fb617362d79f135a45942ddf3e55435364355b063eea22ec5f1666737d8e887baae237d8a895c1f8d9f0c1dd0d145c6c46f2827d8ce3eba696ca18 SHA512 f86db33dcb46c9a6f696418de6463a597c6635dc66aecb2e2e53948c299dd7d1d4dfcb7c37d78cd024113ae5484dfaf48ff1cc0a4aefbc586976a665b2df1ca6 |
25 |
+DIST sysbench-1.0.17.tar.gz 1509044 BLAKE2B 9dcffcd0ee74b75416a5421879c6413b9052d65a63c4c4ef76f6bce620a0df284bcaf67225249b8c549f2ff912dab2a5df224f73153433d359e1245b27d2d715 SHA512 95a6bb7ec9b0fb111bf2844e110b8fb51c006fd68b5bac75c1b80e2ed18e839d6f07f79d55fb5adef67b41d00f67bbf659d129d1cb593d4fd118092b15431815 |
26 |
|
27 |
diff --git a/app-benchmarks/sysbench/sysbench-1.0.17.ebuild b/app-benchmarks/sysbench/sysbench-1.0.17.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..95a24a98ccf |
30 |
--- /dev/null |
31 |
+++ b/app-benchmarks/sysbench/sysbench-1.0.17.ebuild |
32 |
@@ -0,0 +1,61 @@ |
33 |
+# Copyright 1999-2019 Gentoo Authors |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=7 |
37 |
+ |
38 |
+inherit autotools pax-utils |
39 |
+ |
40 |
+DESCRIPTION="System performance benchmark" |
41 |
+HOMEPAGE="https://github.com/akopytov/sysbench" |
42 |
+SRC_URI="https://github.com/akopytov/sysbench/archive/${PV}.tar.gz -> ${P}.tar.gz" |
43 |
+ |
44 |
+LICENSE="GPL-2+" |
45 |
+SLOT="0" |
46 |
+KEYWORDS="~amd64 ~x86" |
47 |
+IUSE="aio mysql postgres test" |
48 |
+RESTRICT="!test? ( test )" |
49 |
+ |
50 |
+RDEPEND="aio? ( dev-libs/libaio ) |
51 |
+ mysql? ( virtual/libmysqlclient ) |
52 |
+ postgres? ( dev-db/postgresql:= ) |
53 |
+ dev-lang/luajit:=" |
54 |
+DEPEND="${RDEPEND} |
55 |
+ dev-libs/concurrencykit |
56 |
+ dev-libs/libxslt |
57 |
+ sys-devel/libtool |
58 |
+ virtual/pkgconfig |
59 |
+ test? ( dev-util/cram )" |
60 |
+ |
61 |
+src_prepare() { |
62 |
+ default |
63 |
+ |
64 |
+ # remove bundled libs |
65 |
+ rm -r third_party/luajit/luajit third_party/concurrency_kit/ck third_party/cram || die |
66 |
+ |
67 |
+ eautoreconf |
68 |
+} |
69 |
+ |
70 |
+src_configure() { |
71 |
+ local myeconfargs=( |
72 |
+ $(use_enable aio) |
73 |
+ $(use_with mysql) |
74 |
+ $(use_with postgres pgsql) |
75 |
+ --without-attachsql |
76 |
+ --without-drizzle |
77 |
+ --without-oracle |
78 |
+ --with-system-luajit |
79 |
+ --with-system-ck |
80 |
+ ) |
81 |
+ |
82 |
+ econf "${myeconfargs[@]}" |
83 |
+} |
84 |
+ |
85 |
+src_test() { |
86 |
+ emake check test |
87 |
+} |
88 |
+ |
89 |
+src_install() { |
90 |
+ default |
91 |
+ |
92 |
+ pax-mark m "${ED}"/usr/bin/${PN} |
93 |
+} |