def METHOD_NAME(self):
    # core component
    self.cpp_info.components["core"].set_property("pkg_config_name", "soxr")
    self.cpp_info.components["core"].libs = ["soxr"]
    if self.settings.os in ("FreeBSD", "Linux"):
        self.cpp_info.components["core"].system_libs = ["m"]
    if self.settings.os == "Windows" and self.options.shared:
        self.cpp_info.components["core"].defines.append("SOXR_DLL")
    if not self.options.shared and self.options.with_openmp:
        if is_msvc(self):
            openmp_flags = ["-openmp"]
        elif self.settings.compiler in ("gcc", "clang"):
            openmp_flags = ["-fopenmp"]
        elif self.settings.compiler == "apple-clang":
            openmp_flags = ["-Xpreprocessor", "-fopenmp"]
        else:
            openmp_flags = []
        self.cpp_info.components["core"].exelinkflags = openmp_flags
        self.cpp_info.components["core"].sharedlinkflags = openmp_flags
    # lsr component
    if self.options.with_lsr_bindings:
        self.cpp_info.components["lsr"].set_property("pkg_config_name", "soxr-lsr")
        self.cpp_info.components["lsr"].libs = ["soxr-lsr"]
        if self.settings.os == "Windows" and self.options.shared:
            self.cpp_info.components["lsr"].defines.append("SOXR_DLL")
        self.cpp_info.components["lsr"].requires = ["core"]