def METHOD_NAME(self):
    def rename_msvc_static_libs():
        lib_folder = os.path.join(self.package_folder, "lib")
        rename(self, os.path.join(lib_folder, f"libglibmm-{self._abi_version}.a"),
               os.path.join(lib_folder, f"{self._glibmm_lib}.lib"))
        rename(self, os.path.join(lib_folder, f"libgiomm-{self._abi_version}.a"),
               os.path.join(lib_folder, f"{self._giomm_lib}.lib"))
        rename(self, os.path.join(lib_folder, f"libglibmm_generate_extra_defs-{self._abi_version}.a"),
               os.path.join(lib_folder, f"glibmm_generate_extra_defs-{self._abi_version}.lib"))
    meson = Meson(self)
    meson.install()
    copy(self, "COPYING", self.source_folder, os.path.join(self.package_folder, "licenses"))
    if is_msvc(self):
        rm(self, "*.pdb", os.path.join(self.package_folder, "bin"))
        if not self.options.shared:
            rename_msvc_static_libs()
    for directory in [self._glibmm_lib, self._giomm_lib]:
        directory_path = os.path.join(self.package_folder, "lib", directory, "include", "*.h")
        for header_file in glob.glob(directory_path):
            shutil.move(
                header_file,
                os.path.join(self.package_folder, "include", directory, os.path.basename(header_file)),
            )
    for dir_to_remove in ["pkgconfig", self._glibmm_lib, self._giomm_lib]:
        rmdir(self, os.path.join(self.package_folder, "lib", dir_to_remove))
    fix_apple_shared_install_name(self)