commit:     fbf5279239f798f8170d43c47e16b9d06ce44127
Author:     William Breathitt Gray <vilhelm.gray <AT> gmail <DOT> com>
AuthorDate: Sun Jul 26 18:22:31 2020 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Sun Sep  6 05:55:18 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fbf52792

dev-cpp/benchmark: New package

Signed-off-by: William Breathitt Gray <vilhelm.gray <AT> gmail.com>
Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 dev-cpp/benchmark/Manifest               |  1 +
 dev-cpp/benchmark/benchmark-1.5.1.ebuild | 26 ++++++++++++++++++++++++++
 dev-cpp/benchmark/metadata.xml           | 17 +++++++++++++++++
 3 files changed, 44 insertions(+)

diff --git a/dev-cpp/benchmark/Manifest b/dev-cpp/benchmark/Manifest
new file mode 100644
index 00000000000..1bc43e7976a
--- /dev/null
+++ b/dev-cpp/benchmark/Manifest
@@ -0,0 +1 @@
+DIST benchmark-1.5.1.tar.gz 154896 BLAKE2B 
cb8d74b3e6662e35ea12809d8b62d1e3a6849668840c84697e7f4b2d29eaf68688bb1cda6f43c170e70366de88a93af79bb709d55dfc8d79140c11a31855a46b
 SHA512 
1e8782ab6846b8b29c5eea41ed1ba19dd92a46a135cf74acdc588e2cd5ef05581c644d20fc0d6403456d65417538e1db80109ae87989601298b2fc56ae3c3161

diff --git a/dev-cpp/benchmark/benchmark-1.5.1.ebuild 
b/dev-cpp/benchmark/benchmark-1.5.1.ebuild
new file mode 100644
index 00000000000..c64fe45b19a
--- /dev/null
+++ b/dev-cpp/benchmark/benchmark-1.5.1.ebuild
@@ -0,0 +1,26 @@
+# Copyright 1999-2020 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 ~x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+src_configure() {
+       local mycmakeargs=(
+               -DBENCHMARK_ENABLE_TESTING=$(usex test)
+               -DBENCHMARK_ENABLE_GTEST_TESTS=OFF
+               -DBENCHMARK_ENABLE_ASSEMBLY_TESTS=OFF
+       )
+
+       cmake_src_configure
+}

diff --git a/dev-cpp/benchmark/metadata.xml b/dev-cpp/benchmark/metadata.xml
new file mode 100644
index 00000000000..49126cc81f1
--- /dev/null
+++ b/dev-cpp/benchmark/metadata.xml
@@ -0,0 +1,17 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
+<pkgmetadata>
+       <maintainer type="person">
+               <email>[email protected]</email>
+               <name>William Breathitt Gray</name>
+       </maintainer>
+       <maintainer type="project">
+               <email>[email protected]</email>
+               <name>Proxy Maintainers</name>
+       </maintainer>
+       <upstream>
+               <bugs-to>https://github.com/google/benchmark/issues</bugs-to>
+               <doc 
lang="en">https://github.com/google/benchmark/blob/master/docs/</doc>
+               <remote-id type="github">google/benchmark</remote-id>
+       </upstream>
+</pkgmetadata>

Reply via email to