def METHOD_NAME(self):
    # remove static linking to libstdc++
    filter_file("-static-libstdc++", "", "CMakeLists.txt", string=True)
    if self.spec.satisfies("@0.8.2:0.9.1"):
        filter_file(
            "${FAST_MALLOC_LIB}",
            "${FAST_MALLOC_LIB}\n" "${CMAKE_DL_LIBS}",
            "src/CMakeLists.txt",
            string=True,
        )
    if self.spec.satisfies("@:0.14.1"):
        filter_file("curl -k.*", "", "scripts/fetchRapMap.sh")
        symlink("./salmon-v{0}.zip".format(self.version), "./external/rapmap.zip")
    if self.spec.satisfies("@1.4.0:"):
        filter_file("curl -k.*", "", "scripts/fetchPufferfish.sh")
        symlink("./salmon-v{0}.zip".format(self.version), "./external/pufferfish.zip")
        # Fix issues related to lto-wrapper during install
        filter_file(
            "INTERPROCEDURAL_OPTIMIZATION True",
            "INTERPROCEDURAL_OPTIMIZATION False",
            "src/CMakeLists.txt",
            string=True,
        )
        filter_file("curl -k.*", "", "scripts/fetchPufferfish.sh")