diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-05-07 01:33:16 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-05-07 01:33:16 +0100 |
commit | c8fd0d84af0bfd1949542adc2cbb735b1d28f9ed (patch) | |
tree | 3ee550255947da075650f1a551dcc278f9a1b7f8 /dev-cpp/benchmark/benchmark-1.5.3.ebuild | |
parent | a978c074e4272bb901fbe4a10de0a7b2af574f17 (diff) |
gentoo resync : 07.05.2021
Diffstat (limited to 'dev-cpp/benchmark/benchmark-1.5.3.ebuild')
-rw-r--r-- | dev-cpp/benchmark/benchmark-1.5.3.ebuild | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/dev-cpp/benchmark/benchmark-1.5.3.ebuild b/dev-cpp/benchmark/benchmark-1.5.3.ebuild new file mode 100644 index 000000000000..1463b00dc41b --- /dev/null +++ b/dev-cpp/benchmark/benchmark-1.5.3.ebuild @@ -0,0 +1,28 @@ +# Copyright 1999-2021 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit cmake + +DESCRIPTION="A microbenchmark support library" +HOMEPAGE="https://github.com/google/benchmark" +SRC_URI="https://github.com/google/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64 ~hppa ~ppc64 ~x86" +IUSE="debug test" +RESTRICT="!test? ( test )" + +src_configure() { + local mycmakeargs=( + -DBENCHMARK_ENABLE_TESTING=$(usex test) + -DBENCHMARK_ENABLE_GTEST_TESTS=OFF + -DBENCHMARK_ENABLE_ASSEMBLY_TESTS=OFF + ) + + use debug || append-cppflags -DNDEBUG + + cmake_src_configure +} |