def METHOD_NAME(self):
    copy(self, "LICENSE.txt", src=os.path.join(self.source_folder, "octomap"),
                              dst=os.path.join(self.package_folder, "licenses"))
    cmake = CMake(self)
    cmake.install()
    rmdir(self, os.path.join(self.package_folder, "lib", "pkgconfig"))
    rmdir(self, os.path.join(self.package_folder, "share"))
    # TODO: to remove in conan v2 once cmake_find_package_* generators are removed
    self._create_cmake_module_alias_targets(
        os.path.join(self.package_folder, self._module_file_rel_path),
        {
            self._octomath_target: f"octomap::{self._octomath_target}",
            self._octomap_target: f"octomap::{self._octomap_target}",
        }
    )