def METHOD_NAME(self):
    self.cpp_info.set_property("pkg_config_name", "libdeflate")
    prefix = "lib" if self.settings.os == "Windows" else ""
    suffix = "static" if self.settings.os == "Windows" and not self.options.shared else ""
    self.cpp_info.libs = [f"{prefix}deflate{suffix}"]
    if self.settings.os == "Windows" and self.options.shared:
        self.cpp_info.defines = ["LIBDEFLATE_DLL"]