dev-libs/unordered_dense: add 2.0.1

Signed-off-by: Huang Rui <vowstar@gmail.com>
This commit is contained in:
Huang Rui 2023-06-05 15:01:21 +08:00
parent 7bec09d5b2
commit 06b05f7f04
No known key found for this signature in database
GPG Key ID: AD4E34A8385E3E52
2 changed files with 38 additions and 0 deletions

View File

@ -1,2 +1,3 @@
DIST unordered_dense-2.0.0.tar.gz 307275 BLAKE2B d579740134a8e67e8487c1d6779bc5ea2bf0b3ab70ce60f3b8b68d1fdabc9b45a099e49500b417f21a3fc4c88d2aadbf96afa7b56a8d7d581a0d3f3f6badf61b SHA512 8c7d582abd2142310b50d835ce3cb9a0731a6f7bc6419d01742860cbcb0ade31aad393c93523b8ff82ce456f6cbab5a3d93f91f95c8eb5f7f960fa4793f57d8d
DIST unordered_dense-2.0.1.tar.gz 307477 BLAKE2B bca5564eba6811cedc4fc392dcd3b273209262123d69dcf7d2f6950d90b6d9e6da5754f279b0bbac18e67fa37214a5bc31a11a79d3ddfe6db2e30e9ba8ef7906 SHA512 26ac0ab296b10b0668291370b43df9dcb37e5145328f77233f8fcc2ab9cb2df4d00489d80cde167c0a4ab868547bd3148ca80500400331c7fb0039adb122bfeb
DIST unordered_dense-3.1.1.tar.gz 308854 BLAKE2B 3addc3f559cb9de37d0dfd6408b020b2f2d8cd066c565d3cae8b3c834a97c652a10f3272a628feaaddee2442132db8f196d326ee3a766e42841674ee5493c95a SHA512 5cab1affaa8e49e14c4db6c35bd00cf7f9c967e46be65a80b995b0bf78bea1a52d074abd43e4e65b8c102469ef07dface929f83920edef493e8b6af2eaeebafd

View File

@ -0,0 +1,37 @@
# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI="8"
inherit cmake
DESCRIPTION="A fast and densely stored hashmap and hashset"
HOMEPAGE="https://github.com/martinus/unordered_dense"
if [[ "${PV}" == "9999" ]] ; then
inherit git-r3
EGIT_REPO_URI="https://github.com/martinus/${PN}.git"
else
SRC_URI="https://github.com/martinus/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
KEYWORDS="~amd64 ~arm64 ~riscv ~x86"
S="${WORKDIR}/${P}"
fi
LICENSE="MIT"
SLOT="0"
IUSE="test"
RESTRICT="!test? ( test )"
RDEPEND=""
DEPEND="
${RDEPEND}
"
src_configure() {
local mycmakeargs=(
-D CMAKE_INSTALL_LIBDIR="${EPREFIX}/usr/$(get_libdir)"
-D BUILD_SHARED_LIBS=ON
)
cmake_src_configure
}