diff options
author | iarspider <iarspider@gmail.com> | 2021-03-05 16:21:12 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-05 16:21:12 +0100 |
commit | ad9db839cf9c472b461ea4078f5477ca226f3751 (patch) | |
tree | dd11e80b06557ab695f9c4d5754fa40a2db7d3c1 | |
parent | 098b7b2e50261f6ef26a333a024ff5ab6b2f0521 (diff) | |
download | spack-ad9db839cf9c472b461ea4078f5477ca226f3751.tar.gz spack-ad9db839cf9c472b461ea4078f5477ca226f3751.tar.bz2 spack-ad9db839cf9c472b461ea4078f5477ca226f3751.tar.xz spack-ad9db839cf9c472b461ea4078f5477ca226f3751.zip |
syscalc: fix recipe and URL (extension) (#22112)
-rw-r--r-- | var/spack/repos/builtin/packages/syscalc/package.py | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/var/spack/repos/builtin/packages/syscalc/package.py b/var/spack/repos/builtin/packages/syscalc/package.py index 36676f446d..a3c41aae41 100644 --- a/var/spack/repos/builtin/packages/syscalc/package.py +++ b/var/spack/repos/builtin/packages/syscalc/package.py @@ -13,7 +13,8 @@ class Syscalc(MakefilePackage): url = "https://bazaar.launchpad.net/~mgtools/mg5amcnlo/SysCalc/tarball/17" version('1.1.7', sha256='ac73df0f9f195eb62601fafc2eede3db17a562750f7971616870d6df4abd1b6c', - url='https://bazaar.launchpad.net/~mgtools/mg5amcnlo/SysCalc/tarball/17') + url='https://bazaar.launchpad.net/~mgtools/mg5amcnlo/SysCalc/tarball/17', + extension='.tgz') tags = ['hep'] @@ -26,7 +27,12 @@ class Syscalc(MakefilePackage): url = url.format(version) return url + def build(self, spec, prefix): + with working_dir('mg5amcnlo/SysCalc'): + make('all') + def install(self, spec, prefix): mkdirp(prefix.bin) - install('sys_calc', prefix.bin) - install_tree('include', prefix.include) + with working_dir('mg5amcnlo/SysCalc'): + install('sys_calc', prefix.bin) + install_tree('include', prefix.include) |