def METHOD_NAME(self, spec, prefix):
    d = find(".", "src_main", recursive=True)
    root_dir = os.path.dirname(d[0])
    copy(
        join_path(root_dir, "src_metis_4.1_fflow", "Lib", "kmetis_main.c"),
        join_path(root_dir, "src_pre", "src"),
    )
    copy(
        join_path(root_dir, "src_metis_4.1_fflow", "Lib", "io.c"),
        join_path(root_dir, "src_pre", "src"),
    )
    mkdirp(join_path(root_dir, "bin_FFR"))
    for dir in self.build_directories:
        with working_dir(join_path(root_dir, dir)):
            make("clean")
            make()