summaryrefslogtreecommitdiff
path: root/dev-cpp/cctz
diff options
context:
space:
mode:
Diffstat (limited to 'dev-cpp/cctz')
-rw-r--r--dev-cpp/cctz/Manifest1
-rw-r--r--dev-cpp/cctz/cctz-2.5.ebuild30
-rw-r--r--dev-cpp/cctz/metadata.xml16
3 files changed, 47 insertions, 0 deletions
diff --git a/dev-cpp/cctz/Manifest b/dev-cpp/cctz/Manifest
new file mode 100644
index 000000000000..e6a6ac653cc8
--- /dev/null
+++ b/dev-cpp/cctz/Manifest
@@ -0,0 +1 @@
+DIST cctz-2.5.tar.gz 224961 BLAKE2B dc5e51dbcb9a6c3d497d3c89385ca6e6eedba9eaa00b378a9d1a488e7efb40d19afc38769893d8a56ea1a5198236a260045e2c19c5014b86e10566bd4dcfb12e SHA512 e3eba96482b7745b145ecfd9b3b96b09d9120bde952dfdb66d625e642a463b87c74205b1813e3c4bd9b408410bb26fb095d034ca56a4953005bf0c988ccc741e
diff --git a/dev-cpp/cctz/cctz-2.5.ebuild b/dev-cpp/cctz/cctz-2.5.ebuild
new file mode 100644
index 000000000000..e93dccb27bc4
--- /dev/null
+++ b/dev-cpp/cctz/cctz-2.5.ebuild
@@ -0,0 +1,30 @@
+# Copyright 2023-2025 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="C++ library for dealing with time zones and time conversion"
+HOMEPAGE="https://github.com/google/cctz"
+SRC_URI="https://github.com/google/cctz/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="amd64 arm arm64 ~ppc64 ~riscv x86"
+IUSE="test"
+RESTRICT="!test? ( test )"
+
+BDEPEND="
+ test? (
+ dev-cpp/gtest
+ )
+"
+
+src_configure() {
+ local mycmakeargs=(
+ -DBUILD_TESTING=$(usex test)
+ -DBUILD_BENCHMARK=OFF
+ )
+ cmake_src_configure
+}
diff --git a/dev-cpp/cctz/metadata.xml b/dev-cpp/cctz/metadata.xml
new file mode 100644
index 000000000000..b97c129aa73f
--- /dev/null
+++ b/dev-cpp/cctz/metadata.xml
@@ -0,0 +1,16 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://docs.baldeagleos.com/dtd/metadata.dtd">
+<pkgmetadata>
+ <maintainer type="person">
+ <email>sbraz@gentoo.org</email>
+ <name>Louis Sautier</name>
+ </maintainer>
+ <maintainer type="person" proxied="yes">
+ <email>alexey+gentoo@asokolov.org</email>
+ <name>Alexey Sokolov</name>
+ </maintainer>
+ <upstream>
+ <bugs-to>https://github.com/google/cctz/issues</bugs-to>
+ </upstream>
+ <origin>baldeagleos-repo</origin>
+</pkgmetadata>