diff options
author | Alfredo Gimenez <gimenez1@llnl.gov> | 2016-09-02 14:15:20 -0700 |
---|---|---|
committer | Alfredo Gimenez <gimenez1@llnl.gov> | 2016-09-02 14:15:20 -0700 |
commit | 19102559f0391a857f01f4002d7dbe537a4f80e2 (patch) | |
tree | 861d69c7d782e6c403ad8743c7b7cc0f291af5ad /var | |
parent | d78d18c4bdc307e6afa696c8fab09d90706edce5 (diff) | |
download | spack-19102559f0391a857f01f4002d7dbe537a4f80e2.tar.gz spack-19102559f0391a857f01f4002d7dbe537a4f80e2.tar.bz2 spack-19102559f0391a857f01f4002d7dbe537a4f80e2.tar.xz spack-19102559f0391a857f01f4002d7dbe537a4f80e2.zip |
Add sbt (scala build tool) package
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/sbt/package.py | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/sbt/package.py b/var/spack/repos/builtin/packages/sbt/package.py new file mode 100644 index 0000000000..0d675ef8ff --- /dev/null +++ b/var/spack/repos/builtin/packages/sbt/package.py @@ -0,0 +1,18 @@ +from spack import * +import shutil + + +class Sbt(Package): + """Scala Build Tool""" + + homepage = "http://http://www.scala-sbt.org" + url = "http://http://www.scala-sbt.org/download.html" + + version('0.13.12', 'cec3071d46ef13334c8097cc3467ff28', + url='https://dl.bintray.com/sbt/native-packages/sbt/0.13.12/sbt-0.13.12.tgz') + + depends_on('jdk') + + def install(self, spec, prefix): + shutil.copytree('bin', join_path(prefix, 'bin'), symlinks=True) + shutil.copytree('conf', join_path(prefix, 'conf'), symlinks=True) |