dev-libs/unordered_dense: add 3.1.1

Signed-off-by: Huang Rui <vowstar@gmail.com>
This commit is contained in:
Huang Rui
2023-03-31 12:55:44 +08:00
parent 61b2415d67
commit 27e67fba47
2 changed files with 38 additions and 0 deletions

View File

@@ -1 +1,2 @@
DIST unordered_dense-2.0.0.tar.gz 307275 BLAKE2B d579740134a8e67e8487c1d6779bc5ea2bf0b3ab70ce60f3b8b68d1fdabc9b45a099e49500b417f21a3fc4c88d2aadbf96afa7b56a8d7d581a0d3f3f6badf61b SHA512 8c7d582abd2142310b50d835ce3cb9a0731a6f7bc6419d01742860cbcb0ade31aad393c93523b8ff82ce456f6cbab5a3d93f91f95c8eb5f7f960fa4793f57d8d
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
}