diff options
author | Tomas Mozes <hydrapolic@gmail.com> | 2019-08-16 13:23:09 +0000 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2019-08-17 18:49:39 +0300 |
commit | 86acf5b90c78c9b8687e7f9e9b1a71b410722919 (patch) | |
tree | a60f0f4416b35310e99adcf77db0369f9fcf9e4a | |
parent | media-sound/denemo: bump to version 2.3.0 (diff) | |
download | gentoo-86acf5b90c78c9b8687e7f9e9b1a71b410722919.tar.gz gentoo-86acf5b90c78c9b8687e7f9e9b1a71b410722919.tar.bz2 gentoo-86acf5b90c78c9b8687e7f9e9b1a71b410722919.zip |
app-benchmarks/sysbench: bump to 1.0.17
Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
-rw-r--r-- | app-benchmarks/sysbench/Manifest | 1 | ||||
-rw-r--r-- | app-benchmarks/sysbench/sysbench-1.0.17.ebuild | 61 |
2 files changed, 62 insertions, 0 deletions
diff --git a/app-benchmarks/sysbench/Manifest b/app-benchmarks/sysbench/Manifest index c58acf7cf634..e25bf01c2a02 100644 --- a/app-benchmarks/sysbench/Manifest +++ b/app-benchmarks/sysbench/Manifest @@ -1,3 +1,4 @@ DIST sysbench-1.0.10.tar.gz 1496937 BLAKE2B d2cf3283a2e2cac89a54e51e975eecec4b5514c08b14fe81138dc36b077e82de54cb3c5d218e1cc00dc6bff66319d780c69249c49c93e810d3ebde3c0b36b656 SHA512 3e2c9597538c9b71a50a0fb0e198f8852206fc609b0968253ee6b12f652fd56f1b2c6e7a4c93161b725e5c56193f7ce9d5cf58c4882839a4c1055c539861d16d DIST sysbench-1.0.15.tar.gz 1507930 BLAKE2B d4f18b08a122b8574b916b5ddadf69dd37718ac94642fb8d31582c79788569190a26fad3b3cccaadb695a65a3b9efda59943e32947a709918b3fb6d80aee6cac SHA512 ff68ad15c037006a2a49e3d59062611062336860205816ca6d9cdd20832fc55b631960411caa718dff881e926196046a7317b33e803061868e524a819569d3a2 DIST sysbench-1.0.16.tar.gz 1508595 BLAKE2B 0cd7818097fb617362d79f135a45942ddf3e55435364355b063eea22ec5f1666737d8e887baae237d8a895c1f8d9f0c1dd0d145c6c46f2827d8ce3eba696ca18 SHA512 f86db33dcb46c9a6f696418de6463a597c6635dc66aecb2e2e53948c299dd7d1d4dfcb7c37d78cd024113ae5484dfaf48ff1cc0a4aefbc586976a665b2df1ca6 +DIST sysbench-1.0.17.tar.gz 1509044 BLAKE2B 9dcffcd0ee74b75416a5421879c6413b9052d65a63c4c4ef76f6bce620a0df284bcaf67225249b8c549f2ff912dab2a5df224f73153433d359e1245b27d2d715 SHA512 95a6bb7ec9b0fb111bf2844e110b8fb51c006fd68b5bac75c1b80e2ed18e839d6f07f79d55fb5adef67b41d00f67bbf659d129d1cb593d4fd118092b15431815 diff --git a/app-benchmarks/sysbench/sysbench-1.0.17.ebuild b/app-benchmarks/sysbench/sysbench-1.0.17.ebuild new file mode 100644 index 000000000000..95a24a98ccf6 --- /dev/null +++ b/app-benchmarks/sysbench/sysbench-1.0.17.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit autotools pax-utils + +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" +RESTRICT="!test? ( test )" + +RDEPEND="aio? ( dev-libs/libaio ) + mysql? ( virtual/libmysqlclient ) + postgres? ( dev-db/postgresql:= ) + dev-lang/luajit:=" +DEPEND="${RDEPEND} + dev-libs/concurrencykit + dev-libs/libxslt + sys-devel/libtool + virtual/pkgconfig + test? ( dev-util/cram )" + +src_prepare() { + default + + # remove bundled libs + rm -r third_party/luajit/luajit third_party/concurrency_kit/ck third_party/cram || die + + eautoreconf +} + +src_configure() { + local myeconfargs=( + $(use_enable aio) + $(use_with mysql) + $(use_with postgres pgsql) + --without-attachsql + --without-drizzle + --without-oracle + --with-system-luajit + --with-system-ck + ) + + econf "${myeconfargs[@]}" +} + +src_test() { + emake check test +} + +src_install() { + default + + pax-mark m "${ED}"/usr/bin/${PN} +} |