diff options
author | darmac <xiaojun2@hisilicon.com> | 2020-08-29 11:58:29 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-28 22:58:29 -0500 |
commit | a1230d1910f3373e8740fa438c3419b36dbda6fa (patch) | |
tree | b3e8b7872a3e43b69443424720d43390ceff00f3 | |
parent | b799b983bbfee1eb536b9caebd39f2ee976fa9af (diff) | |
download | spack-a1230d1910f3373e8740fa438c3419b36dbda6fa.tar.gz spack-a1230d1910f3373e8740fa438c3419b36dbda6fa.tar.bz2 spack-a1230d1910f3373e8740fa438c3419b36dbda6fa.tar.xz spack-a1230d1910f3373e8740fa438c3419b36dbda6fa.zip |
Add new package: shc (#18314)
-rw-r--r-- | var/spack/repos/builtin/packages/shc/package.py | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/shc/package.py b/var/spack/repos/builtin/packages/shc/package.py new file mode 100644 index 0000000000..e8ca1c18fd --- /dev/null +++ b/var/spack/repos/builtin/packages/shc/package.py @@ -0,0 +1,22 @@ +# Copyright 2013-2020 Lawrence Livermore National Security, LLC and other +# Spack Project Developers. See the top-level COPYRIGHT file for details. +# +# SPDX-License-Identifier: (Apache-2.0 OR MIT) + +from spack import * + + +class Shc(AutotoolsPackage): + """A generic shell script compiler. Shc takes a script, + which is specified on the command line and produces C + source code. The generated source code is then compiled + and linked to produce a stripped binary executable.""" + + homepage = "https://neurobin.org/projects/softwares/unix/shc/" + url = "https://github.com/neurobin/shc/archive/4.0.3.tar.gz" + + version('4.0.3', sha256='7d7fa6a9f5f53d607ab851d739ae3d3b99ca86e2cb1425a6cab9299f673aee16') + version('4.0.2', sha256='881b9a558466529dcdba79b7fafed028ee02a9afc0371fc1e11a26f1f586a4a6') + version('4.0.1', sha256='494666df8b28069a7d73b89f79919bdc04e929a176746c98c3544a639978ba52') + version('4.0.0', sha256='750f84441c45bd589acc3b0f0f71363b0001818156be035da048e1c2f8d6d76b') + version('3.9.8', sha256='8b31e1f2ceef3404217b9578fa250a8a424f3eaf03359dd7951cd635c889ad79') |