def METHOD_NAME(self):
    self.cpp_info.set_property("pkg_config_name",  "apr-1")
    prefix = "lib" if is_msvc(self) and self.options.shared else ""
    self.cpp_info.libs = [f"{prefix}apr-1"]
    self.cpp_info.resdirs = ["res"]
    if not self.options.shared:
        self.cpp_info.defines = ["APR_DECLARE_STATIC"]
        if self.settings.os in ["Linux", "FreeBSD"]:
            self.cpp_info.system_libs = ["crypt", "dl", "pthread", "rt"]
        if self.settings.os == "Windows":
            self.cpp_info.system_libs = ["mswsock", "rpcrt4", "ws2_32"]
    # TODO: to remove in conan v2
    self.env_info.APR_ROOT = self.package_folder
    self.env_info._APR_BUILDDIR = os.path.join(self.package_folder, "res", "build-1")