SUMMARY = "EditorConfig helps maintain consistent coding styles across various editors and IDEs."
HOMEPAGE = "https://https://editorconfig.org"
SECTION = "libs"
LICENSE = "BSD-2-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=38f617473e9f7373b5e79baf437accf8"

SRC_URI = "git://github.com/editorconfig/editorconfig-core-c.git;protocol=https;branch=master"

SRCREV = "e082c947e7f7b14240195d55c060a6e1eda1b0a1"

inherit cmake

DEPENDS = "pcre2"

do_install:append() {
    sed -i -e 's|${STAGING_DIR_HOST}||g' ${D}${libdir}/cmake/EditorConfig/EditorConfigTargets.cmake
}
