def install_s3fs(env): """FUSE-based file system backed by Amazon S3. https://code.google.com/p/s3fs/ """ version = "1.61" url = "http://s3fs.googlecode.com/files/s3fs-{0}.tar.gz".format(version) _get_install(url, env, _configure_make)
def install_s3fs(env): """ Install s3fs, allowing S3 buckets to be mounted as ~POSIX file systems """ default_version = "1.61" version = env.get("tool_version", default_version) url = "http://s3fs.googlecode.com/files/s3fs-%s.tar.gz" % version _get_install(url, env, _configure_make)
def _install_postgres(self): """ Install PostgreSQL from source; this defaults to Postgres version 8.4 and is added for backward compatibility. """ version = "8.4.15" url = ("http://ftp.postgresql.org/pub/source/" + "v{0}/postgresql-{0}.tar.gz").format(version) _get_install(url, self.env, self._install_postgres_configure_make)
def _install_modules(self): """ Install environment-modules from source. NB if we move to Ubuntu quantal or later it would probably be easier to use apt-get. """ env.environment_modules_version = "3.2.10" filename = "modules-{0}.tar.gz".format(env.environment_modules_version) url = ("http://sourceforge.net/projects/modules/files/Modules/"\ "modules-{0}/{1}/download").format(env.environment_modules_version, filename) _get_install(url, self.env, self._install_modules_configure_make, tar_file_name=filename)
def install_maq(env): version = env["tool_version"] url = "http://downloads.sourceforge.net/project/maq/maq/%s/maq-%s.tar.bz2" \ % (version, version) _get_install(url, env, _configure_make)