Niklas Poslovski
2023-10-07 ce9529f7e00479a8a9ec77afe0805e8ee4b9cb96
nlohmann-json: Add package

4 files added
190 ■■■■■ changed files
components/library/nlohmann-json/Makefile 37 ●●●●● patch | view | raw | blame | history
components/library/nlohmann-json/manifests/sample-manifest.p5m 73 ●●●●● patch | view | raw | blame | history
components/library/nlohmann-json/nlohmann-json.p5m 73 ●●●●● patch | view | raw | blame | history
components/library/nlohmann-json/pkg5 7 ●●●●● patch | view | raw | blame | history
components/library/nlohmann-json/Makefile
New file
@@ -0,0 +1,37 @@
#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL)". You may
# only use this file in accordance with the terms of the CDDL.
#
# A full copy of the text of the CDDL should have accompanied this
# source. A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#
#
# Copyright 2023 Niklas Poslovski
#
BUILD_STYLE = cmake
include ../../../make-rules/shared-macros.mk
COMPONENT_NAME=         nlohmann-json
COMPONENT_VERSION=      3.11.2
COMPONENT_PROJECT_URL=  https://github.com/nlohmann/json
COMPONENT_SUMMARY=      JSON for Modern C++
COMPONENT_FMRI=         library/c++/nlohmann-json
COMPONENT_SRC=          json
COMPONENT_ARCHIVE=      $(COMPONENT_NAME)-$(COMPONENT_VERSION).tar.xz
COMPONENT_ARCHIVE_HASH= \
    sha256:8c4b26bf4b422252e13f332bc5e388ec0ab5c3443d24399acb675e68278d341f
COMPONENT_ARCHIVE_URL=    https://github.com/nlohmann/json/releases/download/v$(COMPONENT_VERSION)/json.tar.xz
COMPONENT_CLASSIFICATION=       Development/C++
COMPONENT_LICENSE=      MIT
COMPONENT_LICENSE_FILE= LICENSE.MIT
TEST_TARGET = $(NO_TESTS)
include $(WS_MAKE_RULES)/common.mk
CMAKE_OPTIONS += -DJSON_BuildTests=OFF
# Auto-generated dependencies
components/library/nlohmann-json/manifests/sample-manifest.p5m
New file
@@ -0,0 +1,73 @@
#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"), version 1.0.
# You may only use this file in accordance with the terms of version
# 1.0 of the CDDL.
#
# A full copy of the text of the CDDL should have accompanied this
# source.  A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#
#
# Copyright 2023 <contributor>
#
set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.human-version value=$(HUMAN_VERSION)
set name=pkg.summary value="$(COMPONENT_SUMMARY)"
set name=info.classification value="$(COMPONENT_CLASSIFICATION)"
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
license $(COMPONENT_LICENSE_FILE) license='$(COMPONENT_LICENSE)'
file path=usr/include/nlohmann/adl_serializer.hpp
file path=usr/include/nlohmann/byte_container_with_subtype.hpp
file path=usr/include/nlohmann/detail/abi_macros.hpp
file path=usr/include/nlohmann/detail/conversions/from_json.hpp
file path=usr/include/nlohmann/detail/conversions/to_chars.hpp
file path=usr/include/nlohmann/detail/conversions/to_json.hpp
file path=usr/include/nlohmann/detail/exceptions.hpp
file path=usr/include/nlohmann/detail/hash.hpp
file path=usr/include/nlohmann/detail/input/binary_reader.hpp
file path=usr/include/nlohmann/detail/input/input_adapters.hpp
file path=usr/include/nlohmann/detail/input/json_sax.hpp
file path=usr/include/nlohmann/detail/input/lexer.hpp
file path=usr/include/nlohmann/detail/input/parser.hpp
file path=usr/include/nlohmann/detail/input/position_t.hpp
file path=usr/include/nlohmann/detail/iterators/internal_iterator.hpp
file path=usr/include/nlohmann/detail/iterators/iter_impl.hpp
file path=usr/include/nlohmann/detail/iterators/iteration_proxy.hpp
file path=usr/include/nlohmann/detail/iterators/iterator_traits.hpp
file path=usr/include/nlohmann/detail/iterators/json_reverse_iterator.hpp
file path=usr/include/nlohmann/detail/iterators/primitive_iterator.hpp
file path=usr/include/nlohmann/detail/json_pointer.hpp
file path=usr/include/nlohmann/detail/json_ref.hpp
file path=usr/include/nlohmann/detail/macro_scope.hpp
file path=usr/include/nlohmann/detail/macro_unscope.hpp
file path=usr/include/nlohmann/detail/meta/call_std/begin.hpp
file path=usr/include/nlohmann/detail/meta/call_std/end.hpp
file path=usr/include/nlohmann/detail/meta/cpp_future.hpp
file path=usr/include/nlohmann/detail/meta/detected.hpp
file path=usr/include/nlohmann/detail/meta/identity_tag.hpp
file path=usr/include/nlohmann/detail/meta/is_sax.hpp
file path=usr/include/nlohmann/detail/meta/std_fs.hpp
file path=usr/include/nlohmann/detail/meta/type_traits.hpp
file path=usr/include/nlohmann/detail/meta/void_t.hpp
file path=usr/include/nlohmann/detail/output/binary_writer.hpp
file path=usr/include/nlohmann/detail/output/output_adapters.hpp
file path=usr/include/nlohmann/detail/output/serializer.hpp
file path=usr/include/nlohmann/detail/string_concat.hpp
file path=usr/include/nlohmann/detail/string_escape.hpp
file path=usr/include/nlohmann/detail/value_t.hpp
file path=usr/include/nlohmann/json.hpp
file path=usr/include/nlohmann/json_fwd.hpp
file path=usr/include/nlohmann/ordered_map.hpp
file path=usr/include/nlohmann/thirdparty/hedley/hedley.hpp
file path=usr/include/nlohmann/thirdparty/hedley/hedley_undef.hpp
file path=usr/share/cmake/nlohmann_json/nlohmann_jsonConfig.cmake
file path=usr/share/cmake/nlohmann_json/nlohmann_jsonConfigVersion.cmake
file path=usr/share/cmake/nlohmann_json/nlohmann_jsonTargets.cmake
file path=usr/share/pkgconfig/nlohmann_json.pc
components/library/nlohmann-json/nlohmann-json.p5m
New file
@@ -0,0 +1,73 @@
#
# This file and its contents are supplied under the terms of the
# Common Development and Distribution License ("CDDL"), version 1.0.
# You may only use this file in accordance with the terms of version
# 1.0 of the CDDL.
#
# A full copy of the text of the CDDL should have accompanied this
# source.  A copy of the CDDL is also available via the Internet at
# http://www.illumos.org/license/CDDL.
#
#
# Copyright 2023 Niklas Poslovski
#
set name=pkg.fmri value=pkg:/$(COMPONENT_FMRI)@$(IPS_COMPONENT_VERSION),$(BUILD_VERSION)
set name=pkg.human-version value=$(HUMAN_VERSION)
set name=pkg.summary value="$(COMPONENT_SUMMARY)"
set name=info.classification value="$(COMPONENT_CLASSIFICATION)"
set name=info.upstream-url value=$(COMPONENT_PROJECT_URL)
set name=info.source-url value=$(COMPONENT_ARCHIVE_URL)
set name=org.opensolaris.consolidation value=$(CONSOLIDATION)
license $(COMPONENT_LICENSE_FILE) license='$(COMPONENT_LICENSE)'
file path=usr/include/nlohmann/adl_serializer.hpp
file path=usr/include/nlohmann/byte_container_with_subtype.hpp
file path=usr/include/nlohmann/detail/abi_macros.hpp
file path=usr/include/nlohmann/detail/conversions/from_json.hpp
file path=usr/include/nlohmann/detail/conversions/to_chars.hpp
file path=usr/include/nlohmann/detail/conversions/to_json.hpp
file path=usr/include/nlohmann/detail/exceptions.hpp
file path=usr/include/nlohmann/detail/hash.hpp
file path=usr/include/nlohmann/detail/input/binary_reader.hpp
file path=usr/include/nlohmann/detail/input/input_adapters.hpp
file path=usr/include/nlohmann/detail/input/json_sax.hpp
file path=usr/include/nlohmann/detail/input/lexer.hpp
file path=usr/include/nlohmann/detail/input/parser.hpp
file path=usr/include/nlohmann/detail/input/position_t.hpp
file path=usr/include/nlohmann/detail/iterators/internal_iterator.hpp
file path=usr/include/nlohmann/detail/iterators/iter_impl.hpp
file path=usr/include/nlohmann/detail/iterators/iteration_proxy.hpp
file path=usr/include/nlohmann/detail/iterators/iterator_traits.hpp
file path=usr/include/nlohmann/detail/iterators/json_reverse_iterator.hpp
file path=usr/include/nlohmann/detail/iterators/primitive_iterator.hpp
file path=usr/include/nlohmann/detail/json_pointer.hpp
file path=usr/include/nlohmann/detail/json_ref.hpp
file path=usr/include/nlohmann/detail/macro_scope.hpp
file path=usr/include/nlohmann/detail/macro_unscope.hpp
file path=usr/include/nlohmann/detail/meta/call_std/begin.hpp
file path=usr/include/nlohmann/detail/meta/call_std/end.hpp
file path=usr/include/nlohmann/detail/meta/cpp_future.hpp
file path=usr/include/nlohmann/detail/meta/detected.hpp
file path=usr/include/nlohmann/detail/meta/identity_tag.hpp
file path=usr/include/nlohmann/detail/meta/is_sax.hpp
file path=usr/include/nlohmann/detail/meta/std_fs.hpp
file path=usr/include/nlohmann/detail/meta/type_traits.hpp
file path=usr/include/nlohmann/detail/meta/void_t.hpp
file path=usr/include/nlohmann/detail/output/binary_writer.hpp
file path=usr/include/nlohmann/detail/output/output_adapters.hpp
file path=usr/include/nlohmann/detail/output/serializer.hpp
file path=usr/include/nlohmann/detail/string_concat.hpp
file path=usr/include/nlohmann/detail/string_escape.hpp
file path=usr/include/nlohmann/detail/value_t.hpp
file path=usr/include/nlohmann/json.hpp
file path=usr/include/nlohmann/json_fwd.hpp
file path=usr/include/nlohmann/ordered_map.hpp
file path=usr/include/nlohmann/thirdparty/hedley/hedley.hpp
file path=usr/include/nlohmann/thirdparty/hedley/hedley_undef.hpp
file path=usr/share/cmake/nlohmann_json/nlohmann_jsonConfig.cmake
file path=usr/share/cmake/nlohmann_json/nlohmann_jsonConfigVersion.cmake
file path=usr/share/cmake/nlohmann_json/nlohmann_jsonTargets.cmake
file path=usr/share/pkgconfig/nlohmann_json.pc
components/library/nlohmann-json/pkg5
New file
@@ -0,0 +1,7 @@
{
    "dependencies": [],
    "fmris": [
        "library/c++/nlohmann-json"
    ],
    "name": "nlohmann-json"
}