def METHOD_NAME(self, env):
    if os.path.isdir(self.prefix.lib64):
        lib_dir = self.prefix.lib64
    else:
        lib_dir = self.prefix.lib
    env.prepend_path("CPATH", self.prefix.include)
    env.prepend_path("LIBRARY_PATH", lib_dir)
    env.prepend_path("LD_LIBRARY_PATH", lib_dir)