syscalc: fix recipe and URL (extension) (#22112)
This commit is contained in:
parent
098b7b2e50
commit
ad9db839cf
@ -13,7 +13,8 @@ class Syscalc(MakefilePackage):
|
|||||||
url = "https://bazaar.launchpad.net/~mgtools/mg5amcnlo/SysCalc/tarball/17"
|
url = "https://bazaar.launchpad.net/~mgtools/mg5amcnlo/SysCalc/tarball/17"
|
||||||
|
|
||||||
version('1.1.7', sha256='ac73df0f9f195eb62601fafc2eede3db17a562750f7971616870d6df4abd1b6c',
|
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']
|
tags = ['hep']
|
||||||
|
|
||||||
@ -26,7 +27,12 @@ def url_for_version(self, version):
|
|||||||
url = url.format(version)
|
url = url.format(version)
|
||||||
return url
|
return url
|
||||||
|
|
||||||
|
def build(self, spec, prefix):
|
||||||
|
with working_dir('mg5amcnlo/SysCalc'):
|
||||||
|
make('all')
|
||||||
|
|
||||||
def install(self, spec, prefix):
|
def install(self, spec, prefix):
|
||||||
mkdirp(prefix.bin)
|
mkdirp(prefix.bin)
|
||||||
install('sys_calc', prefix.bin)
|
with working_dir('mg5amcnlo/SysCalc'):
|
||||||
install_tree('include', prefix.include)
|
install('sys_calc', prefix.bin)
|
||||||
|
install_tree('include', prefix.include)
|
||||||
|
Loading…
Reference in New Issue
Block a user