def METHOD_NAME(self):
    copy(self, "COPYING", src=self.source_folder, dst=os.path.join(self.package_folder, "licenses"))
    algs_licenses = [
        {"subdir": "ags"   , "license_name": "COPYRIGHT"},
        {"subdir": "bobyqa", "license_name": "COPYRIGHT"},
        {"subdir": "cobyla", "license_name": "COPYRIGHT"},
        {"subdir": "direct", "license_name": "COPYING"  },
        {"subdir": "esch"  , "license_name": "COPYRIGHT"},
        {"subdir": "luskan", "license_name": "COPYRIGHT"},
        {"subdir": "newuoa", "license_name": "COPYRIGHT"},
        {"subdir": "slsqp" , "license_name": "COPYRIGHT"},
        {"subdir": "stogo" , "license_name": "COPYRIGHT"},
    ]
    for alg_license in algs_licenses:
        copy(self, alg_license["license_name"],
                  src=os.path.join(self.source_folder, "src", "algs", alg_license["subdir"]),
                  dst=os.path.join(self.package_folder, "licenses", alg_license["subdir"]))
    cmake = CMake(self)
    cmake.install()
    rmdir(self, os.path.join(self.package_folder, "lib", "cmake"))
    rmdir(self, os.path.join(self.package_folder, "lib", "pkgconfig"))
    rmdir(self, os.path.join(self.package_folder, "share"))
    rm(self, "*.pdb", os.path.join(self.package_folder, "bin"))