diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-10-03 07:06:27 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2025-10-03 07:06:27 +0000 |
| commit | 9db05347f01604a785caafda9c9c5dbac4649447 (patch) | |
| tree | 7873c834ded9b95b80126efa60008cb6b21c20d6 /dev-cpp/jsoncons/jsoncons-1.4.2.ebuild | |
| parent | aee0c31dbc78c41664cf2579b7e49094fc2cc08e (diff) | |
| download | srcux-9db05347f01604a785caafda9c9c5dbac4649447.tar.gz srcux-9db05347f01604a785caafda9c9c5dbac4649447.tar.xz srcux-9db05347f01604a785caafda9c9c5dbac4649447.zip | |
Adding metadata
Diffstat (limited to 'dev-cpp/jsoncons/jsoncons-1.4.2.ebuild')
| -rw-r--r-- | dev-cpp/jsoncons/jsoncons-1.4.2.ebuild | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/dev-cpp/jsoncons/jsoncons-1.4.2.ebuild b/dev-cpp/jsoncons/jsoncons-1.4.2.ebuild new file mode 100644 index 000000000000..79fff7668853 --- /dev/null +++ b/dev-cpp/jsoncons/jsoncons-1.4.2.ebuild @@ -0,0 +1,27 @@ +# Copyright 2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit cmake + +DESCRIPTION="C++ header-only library for JSON and JSON-like data formats" +HOMEPAGE="https://danielaparker.github.io/jsoncons/ https://github.com/danielaparker/jsoncons" +SRC_URI="https://github.com/danielaparker/jsoncons/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Boost-1.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="test" +RESTRICT="!test? ( test )" + +DOCS=( doc ) + +# uses modified version of catch.hpp, doesn't work with upstream catch2 + +src_configure() { + local mycmakeargs=( + -DJSONCONS_BUILD_TESTS=$(usex test) + ) + cmake_src_configure +} |
