def METHOD_NAME(self):
    self.cpp_info.libs = ["idn2"]
    self.cpp_info.names["pkg_config"] = "libidn2"
    if self.settings.os == "Windows":
        if not self.options.shared:
            self.cpp_info.defines = ["IDN2_STATIC"]
    bin_path = os.path.join(self.package_folder, "bin")
    self.output.info("Appending PATH environment variable: {}".format(bin_path))
    self.env_info.PATH.append(bin_path)