summaryrefslogtreecommitdiff
path: root/dev-cpp/jsoncons/jsoncons-1.4.3.ebuild
diff options
context:
space:
mode:
authorAlexey Sokolov <alexey+gentoo@asokolov.org>2025-10-09 20:10:02 +0100
committerSam James <sam@gentoo.org>2025-10-09 22:47:11 +0100
commite69193a47937870971ed1068fbbd01e24596f946 (patch)
tree770c19d82254a3f4c6050a933400a4cd94256e81 /dev-cpp/jsoncons/jsoncons-1.4.3.ebuild
parent29b852a7a3ffe62c299ef70975edb73c2aba9867 (diff)
downloadgentoo-e69193a47937870971ed1068fbbd01e24596f946.tar.gz
gentoo-e69193a47937870971ed1068fbbd01e24596f946.tar.bz2
gentoo-e69193a47937870971ed1068fbbd01e24596f946.zip
dev-cpp/jsoncons: add 1.4.3
Signed-off-by: Alexey Sokolov <alexey+gentoo@asokolov.org> Part-of: https://github.com/gentoo/gentoo/pull/44115 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'dev-cpp/jsoncons/jsoncons-1.4.3.ebuild')
-rw-r--r--dev-cpp/jsoncons/jsoncons-1.4.3.ebuild27
1 files changed, 27 insertions, 0 deletions
diff --git a/dev-cpp/jsoncons/jsoncons-1.4.3.ebuild b/dev-cpp/jsoncons/jsoncons-1.4.3.ebuild
new file mode 100644
index 000000000000..79fff7668853
--- /dev/null
+++ b/dev-cpp/jsoncons/jsoncons-1.4.3.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
+}