<commit_before>SUMMARY = "A C++11 library for serialization"
HOMEPAGE = "https://uscilab.github.io/cereal/"

SECTION = "libs"

LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=e612690af2f575dfd02e2e91443cea23"

SRCREV = "64f50dbd5cecdaba785217e2b0aeea3a4f1cdfab"
SRC_URI = "git://github.com/USCiLab/cereal.git"

S = "${WORKDIR}/git"

inherit cmake

EXTRA_OECMAKE = "-DJUST_INSTALL_CEREAL=ON"

ALLOW_EMPTY_${PN} = "1"

BBCLASSEXTEND = "native nativesdk"
<commit_msg>libcereal: pick up additional licenses of cereal components<commit_after>SUMMARY = "A C++11 library for serialization"
HOMEPAGE = "https://uscilab.github.io/cereal/"

SECTION = "libs"

LICENSE = "BSD-3-Clause & MIT & BSL-1.0"
LIC_FILES_CHKSUM = "\
    file://LICENSE;md5=e612690af2f575dfd02e2e91443cea23 \
    file://include/cereal/external/rapidxml/license.txt;md5=d63ab70ba21ca0544b03284958324301 \
    file://include/cereal/external/LICENSE;md5=b07578c9df99c0b8b45eb041efd4a645 \
    file://include/cereal/external/rapidjson/LICENSE;md5=e7abb663111d4ac17cf00323698aff08 \
    file://include/cereal/external/rapidjson/msinttypes/LICENSE;md5=dffce65b98c773976de2e338bd130f46 \
"

SRCREV = "64f50dbd5cecdaba785217e2b0aeea3a4f1cdfab"
SRC_URI = "git://github.com/USCiLab/cereal.git"

S = "${WORKDIR}/git"

inherit cmake

EXTRA_OECMAKE = "-DJUST_INSTALL_CEREAL=ON"

ALLOW_EMPTY_${PN} = "1"

BBCLASSEXTEND = "native nativesdk"

{'fraction_non_alphanumeric': 0.13114754098360656, 'fraction_numerical': 0.12116892373485388, 'mean_word_length': 5.75, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 1}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2397924', 'n_tokens_mistral': 716, 'n_tokens_neox': 616, 'n_words': 71}