diff options
author | Eric <erimar77@users.noreply.github.com> | 2018-12-13 12:42:26 -0600 |
---|---|---|
committer | Adam J. Stewart <ajstewart426@gmail.com> | 2018-12-13 12:42:26 -0600 |
commit | 7f602266621d64a8b6cba63397b72dbec4a13620 (patch) | |
tree | b7d3f68578fe6d190000617894aa1192a62f98f9 /var | |
parent | e87d394038a02d8aaa075c33e1d67ad0c9d4fa54 (diff) | |
download | spack-7f602266621d64a8b6cba63397b72dbec4a13620.tar.gz spack-7f602266621d64a8b6cba63397b72dbec4a13620.tar.bz2 spack-7f602266621d64a8b6cba63397b72dbec4a13620.tar.xz spack-7f602266621d64a8b6cba63397b72dbec4a13620.zip |
trf: add version 4.07b and install fixes (#10093)
* trf: add version 4.07 and install fixes
* suggested fixes
Diffstat (limited to 'var')
-rw-r--r-- | var/spack/repos/builtin/packages/trf/package.py | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/var/spack/repos/builtin/packages/trf/package.py b/var/spack/repos/builtin/packages/trf/package.py index c429ccc33d..eaccd807b5 100644 --- a/var/spack/repos/builtin/packages/trf/package.py +++ b/var/spack/repos/builtin/packages/trf/package.py @@ -21,9 +21,15 @@ class Trf(Package): version('4.09', '0c594fe666e0332db1df9d160d7fabc8', expand=False, url='file://{0}/trf409.linux64'.format(os.getcwd())) + version('4.07b', sha256='a3a760c7b74c9603fbc08d95e8fa696c00f35a2f179b0bd63b2b13757ad3b471', expand=False, + url='file://{0}/trf407b.linux64'.format(os.getcwd())) def install(self, spec, prefix): mkdirp(prefix.bin) - install('trf409.linux64', prefix.bin.trf) + + trfname = 'trf{0}.linux64'.format(self.version.joined) + + install(trfname, prefix.bin) chmod = which('chmod') - chmod('+x', prefix.bin.trf) + chmod('+x', os.path.join(prefix.bin, trfname)) + os.symlink(trfname, prefix.bin.trf) |