diff options
Diffstat (limited to 'dev-cpp')
| -rw-r--r-- | dev-cpp/jsoncons/Manifest | 1 | ||||
| -rw-r--r-- | dev-cpp/jsoncons/jsoncons-1.4.3.ebuild | 27 |
2 files changed, 28 insertions, 0 deletions
diff --git a/dev-cpp/jsoncons/Manifest b/dev-cpp/jsoncons/Manifest index d733d9181c45..4151324e206b 100644 --- a/dev-cpp/jsoncons/Manifest +++ b/dev-cpp/jsoncons/Manifest @@ -1 +1,2 @@ DIST jsoncons-1.4.2.tar.gz 1538277 BLAKE2B 97826a3b7b4c872767a2c1bda485bfb20f3183dcbeaa1f2ae2f4e8906043fcb45054964f843b99acb67afd0a8070098887df9be0a672e7784b2494ebc4c41e40 SHA512 5c28a7450e2d8490de19d8a4475406addcc7134ec2a379883c2b705fd7c9f53061eff3814526ed3967ebb5a9089e9a76a2a76b59288eadf7daf36fc1b216e062 +DIST jsoncons-1.4.3.tar.gz 1541372 BLAKE2B 599b0df49615e0ec30aa03bce141117574ac9d7710a41268062e48fc55f0e05b8ea4d1482a1489c1cb6f56ea587580054c9fa7d45a228269c38e9331af3d4aeb SHA512 01b6df6354b3f6f29dcc341b74d94f6a45846546e67adf34cff3bd1befcf436390fa246faf5da4153f6ce3a5c5b3ec8c160e5bc9a0e1a7dc2b092a3e3f0fd69d 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 +} |
