diff options
author | Tomáš Mózes <hydrapolic@gmail.com> | 2020-01-31 08:40:57 +0100 |
---|---|---|
committer | Joonas Niilola <juippis@gentoo.org> | 2020-03-18 10:30:25 +0200 |
commit | ff61a47e2a47e6070d05cf2f4f99ad99762066ba (patch) | |
tree | 7dedf933f2b6c8681b058422cc5267f71c4337ef /app-benchmarks/sysbench | |
parent | dev-python/sphinxcontrib-programoutput: add myself as comantainer (diff) | |
download | gentoo-ff61a47e2a47e6070d05cf2f4f99ad99762066ba.tar.gz gentoo-ff61a47e2a47e6070d05cf2f4f99ad99762066ba.tar.bz2 gentoo-ff61a47e2a47e6070d05cf2f4f99ad99762066ba.zip |
app-benchmarks/sysbench: bump to 1.0.19
Package-Manager: Portage-2.3.85, Repoman-2.3.20
Signed-off-by: Tomáš Mózes <hydrapolic@gmail.com>
Signed-off-by: Joonas Niilola <juippis@gentoo.org>
Diffstat (limited to 'app-benchmarks/sysbench')
-rw-r--r-- | app-benchmarks/sysbench/Manifest | 1 | ||||
-rw-r--r-- | app-benchmarks/sysbench/sysbench-1.0.19.ebuild | 61 |
2 files changed, 62 insertions, 0 deletions
diff --git a/app-benchmarks/sysbench/Manifest b/app-benchmarks/sysbench/Manifest index fc67cfaa9cf3..aaaa8a593bf6 100644 --- a/app-benchmarks/sysbench/Manifest +++ b/app-benchmarks/sysbench/Manifest @@ -1,3 +1,4 @@ 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 +DIST sysbench-1.0.19.tar.gz 1509412 BLAKE2B ac52c22bad2e7fb38ac53dbcf8df10c8aa2e1ab30cafa4ec747ad7442ed519c15e693314ae60371b2f4d8a9fe455047982121465fe54c3d02524934daca3e387 SHA512 1e88cb8dc679fa2b71dc3310fe058bcce7a154bcbc9d5e9b1936d61a11a27e4b6784157cefb1e3540f6abac5142aad4bbf4b470941cf4f1c6d55a967262c07be diff --git a/app-benchmarks/sysbench/sysbench-1.0.19.ebuild b/app-benchmarks/sysbench/sysbench-1.0.19.ebuild new file mode 100644 index 000000000000..bad79a67a164 --- /dev/null +++ b/app-benchmarks/sysbench/sysbench-1.0.19.ebuild @@ -0,0 +1,61 @@ +# Copyright 1999-2020 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? ( dev-db/mysql-connector-c:= ) + postgres? ( dev-db/postgresql:= ) + dev-lang/luajit:2" +DEPEND="${RDEPEND} + dev-libs/concurrencykit + dev-libs/libxslt + test? ( dev-util/cram )" +BDEPEND="sys-devel/libtool + virtual/pkgconfig" + +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} +} |