Skip to content

Commit

Permalink
dev-cpp/cctz: new package, version 2.3_p20230228
Browse files Browse the repository at this point in the history
This package will be used by future version of net-irc/znc.

Signed-off-by: Alexey Sokolov <[email protected]>
Signed-off-by: Louis Sautier <[email protected]>
  • Loading branch information
DarthGandalf authored and sbraz committed Mar 2, 2023
1 parent fac2a68 commit ae21df0
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 0 deletions.
1 change: 1 addition & 0 deletions dev-cpp/cctz/Manifest
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
DIST cctz-2.3_p20230228.tar.gz 218332 BLAKE2B c29f2acf12d73387faf0087ef94b8624b5eefa2cf3136e0003e59a6a89b8a73f6de97f1962031ca1b1b1f4f6e888a363314aa1e160ad54c618189ad4a7d8f60e SHA512 ab6a103a6073a8169cd08587d2415dcab6c6e6c005b4b67fb69cc718b8b73a1331c5782b27aa4924aa5bdedc1563e31aa3ac76196078c50a13773d35d8df993b
32 changes: 32 additions & 0 deletions dev-cpp/cctz/cctz-2.3_p20230228.ebuild
Original file line number Diff line number Diff line change
@@ -0,0 +1,32 @@
# Copyright 2023 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"
MY_COMMIT="3803b96130934f48b1fc1d47c5da5f542949c4b0"
SRC_URI="https://github.com/google/cctz/archive/${MY_COMMIT}.tar.gz -> ${P}.tar.gz"
S="${WORKDIR}/${PN}-${MY_COMMIT}"

LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
IUSE="test"
RESTRICT="!test? ( test )"

BDEPEND="
test? (
dev-cpp/gtest
)
"

src_configure() {
local mycmakeargs=(
-DBUILD_TESTING=$(usex test)
-DBUILD_BENCHMARK=OFF
)
cmake_src_configure
}
16 changes: 16 additions & 0 deletions dev-cpp/cctz/metadata.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>[email protected]</email>
<name>Louis Sautier</name>
</maintainer>
<maintainer type="person" proxied="yes">
<email>[email protected]</email>
<name>Alexey Sokolov</name>
</maintainer>
<upstream>
<remote-id type="github">google/cctz</remote-id>
<bugs-to>https://github.com/google/cctz/issues</bugs-to>
</upstream>
</pkgmetadata>

0 comments on commit ae21df0

Please sign in to comment.