def METHOD_NAME(self, module_file):
    content = textwrap.dedent(f"""\
        set(BZIP2_NEED_PREFIX TRUE)
        set(BZIP2_FOUND TRUE)
        if(NOT DEFINED BZIP2_INCLUDE_DIRS AND DEFINED BZip2_INCLUDE_DIRS)
            set(BZIP2_INCLUDE_DIRS ${{BZip2_INCLUDE_DIRS}})
        endif()
        if(NOT DEFINED BZIP2_INCLUDE_DIR AND DEFINED BZip2_INCLUDE_DIR)
            set(BZIP2_INCLUDE_DIR ${{BZip2_INCLUDE_DIR}})
        endif()
        if(NOT DEFINED BZIP2_LIBRARIES AND DEFINED BZip2_LIBRARIES)
            set(BZIP2_LIBRARIES ${{BZip2_LIBRARIES}})
        endif()
        set(BZIP2_VERSION_STRING "{self.version}")
    """)
    save(self, module_file, content)