diff options
| author | Alexey Sokolov <alexey+gentoo@asokolov.org> | 2025-09-29 19:13:43 +0100 |
|---|---|---|
| committer | Sam James <sam@gentoo.org> | 2025-10-03 01:34:08 +0100 |
| commit | a191ea7e01e7853bb200aa6c87071ee0e47f8f8d (patch) | |
| tree | 36e978bcc924123d326e7c0a20baaf39ce28928b /dev-cpp/jsoncons/jsoncons-1.4.2.ebuild | |
| parent | 8a43e0afb3df9efc876f048e8678bbec7b7045e8 (diff) | |
| download | gentoo-a191ea7e01e7853bb200aa6c87071ee0e47f8f8d.tar.gz gentoo-a191ea7e01e7853bb200aa6c87071ee0e47f8f8d.tar.bz2 gentoo-a191ea7e01e7853bb200aa6c87071ee0e47f8f8d.zip | |
dev-cpp/jsoncons: add 1.4.2
Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org>
Part-of: https://github.com/gentoo/gentoo/pull/43986
Signed-off-by: Sam James <sam@gentoo.org>
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 +} |
