commit:     0a28baca56248cdc29acce0886ebc4b379ca4dc7
Author:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
AuthorDate: Sat Mar 26 07:07:41 2022 +0000
Commit:     Alessandro Barbieri <lssndrbarbieri <AT> gmail <DOT> com>
CommitDate: Sat Mar 26 07:07:41 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=0a28baca

dev-cpp/parallel-hashmap: add 1.34

Signed-off-by: Alessandro Barbieri <lssndrbarbieri <AT> gmail.com>

 dev-cpp/parallel-hashmap/Manifest                  |  1 +
 .../parallel-hashmap/parallel-hashmap-1.34.ebuild  | 41 ++++++++++++++++++++++
 2 files changed, 42 insertions(+)

diff --git a/dev-cpp/parallel-hashmap/Manifest 
b/dev-cpp/parallel-hashmap/Manifest
index da8d78b3e..198c39302 100644
--- a/dev-cpp/parallel-hashmap/Manifest
+++ b/dev-cpp/parallel-hashmap/Manifest
@@ -1 +1,2 @@
 DIST parallel-hashmap-1.33.tar.gz 2038996 BLAKE2B 
b704a0230bd6d15e8a3a1aa11bec456183119d5104e1ac191e556edae1c0b0d2a27c5b52c84cae167cd09a90f4fc43f817c21d64d6b288a70596b6495ee872e6
 SHA512 
287f098229153d925632e68e3cdbabfae0ea0ab8864089e4c0553a166c6079ca82ed5246ba53afd2a2917abcf06f37bc18f098e721f5f3b8def4d2d8c1c8c745
+DIST parallel-hashmap-1.34.tar.gz 2043028 BLAKE2B 
30629288656a22cfd56da9485458f604487383cc5951e230a833b182cbbcc706b78d0b8a45fb76c4fca6da930f49cdb79b2ca63926ca8cd60cc7445b58c8edbd
 SHA512 
3747422e80406aa77b009adee3c16325640dd1044560882fb881dac5ef4109f7d165d26ed7e64002c9285275f95962725ce20c918da12c0c113999c8ca3c7429

diff --git a/dev-cpp/parallel-hashmap/parallel-hashmap-1.34.ebuild 
b/dev-cpp/parallel-hashmap/parallel-hashmap-1.34.ebuild
new file mode 100644
index 000000000..a4119b6dc
--- /dev/null
+++ b/dev-cpp/parallel-hashmap/parallel-hashmap-1.34.ebuild
@@ -0,0 +1,41 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="Family of header-only, fast and memory-friendly hashmap and btree 
containers"
+HOMEPAGE="
+       https://greg7mdp.github.io/parallel-hashmap/
+       https://github.com/greg7mdp/parallel-hashmap
+"
+SRC_URI="https://github.com/greg7mdp/parallel-hashmap/archive/refs/tags/${PV}.tar.gz
 -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64"
+IUSE="examples test"
+
+CDEPEND="dev-libs/cereal"
+DEPEND="test? ( ${CDEPEND} )"
+RDEPEND="${CDEPEND}"
+
+RESTRICT="!test? ( test )"
+
+src_compile() {
+       mycmakeargs=(
+               PHMAP_BUILD_EXAMPLES=$(usex examples)
+               PHMAP_BUILD_TESTS=$(usex test)
+       )
+
+       cmake_src_compile
+}
+
+src_install() {
+       cmake_src_install
+       if use examples ; then
+               dodoc -r examples
+               docompress -x "/usr/share/doc/${PF}/examples"
+       fi
+}

Reply via email to