dev-cpp/hjson-cpp - 2.6 (parona-overlay)

Search

Package Information

Description:
Hjson for C++
Homepage:
https://hjson.github.io/
License:
MIT

Ebuild Details

Version EAPI Keywords Slot
2.6 8 ~amd64 0
View Raw Ebuild
# Copyright 2024-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2

EAPI=8

inherit cmake

DESCRIPTION="Hjson for C++"
HOMEPAGE="https://hjson.github.io/"
SRC_URI="
	https://github.com/hjson/hjson-cpp/archive/refs/tags/${PV}.tar.gz
		-> ${P}.tar.gz
"

LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64"

IUSE="test"
RESTRICT="!test? ( test )"

src_configure() {
	local mycmakeargs=(
		-DHJSON_ENABLE_TEST=$(usex test)
		-DHJSON_ENABLE_PERFTEST=OFF
		-DHJSON_ENABLE_INSTALL=ON
		-DHJSON_VERSIONED_INSTALL=ON
		-DCMAKE_WINDOWS_EXPORT_ALL_SYMBOLS=OFF
	)

	cmake_src_configure
}

src_test() {
	cmake_build runtest
}

USE Flags

Manifest for 2.6

Type File Size Source URLs
DIST hjson-cpp-2.6.tar.gz 70529 bytes https://github.com/hjson/hjson-cpp/archive/refs/tags/2.6.tar.gz