summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordarmac <xiaojun2@hisilicon.com>2020-10-19 16:30:41 +0800
committerGitHub <noreply@github.com>2020-10-19 10:30:41 +0200
commit9799c553e8136e129b1caa5318eb7f85b828f8ac (patch)
tree2cdcad703265e7ddc294789f9f5d2cfc37a69977
parentfb2aba6f0ff9c7afb66aa039e9136f1214a2eb78 (diff)
downloadspack-9799c553e8136e129b1caa5318eb7f85b828f8ac.tar.gz
spack-9799c553e8136e129b1caa5318eb7f85b828f8ac.tar.bz2
spack-9799c553e8136e129b1caa5318eb7f85b828f8ac.tar.xz
spack-9799c553e8136e129b1caa5318eb7f85b828f8ac.zip
wsmancli: added new package at v2.6.0 (#18906)
-rw-r--r--var/spack/repos/builtin/packages/wsmancli/package.py27
1 files changed, 27 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/wsmancli/package.py b/var/spack/repos/builtin/packages/wsmancli/package.py
new file mode 100644
index 0000000000..0a28a1c539
--- /dev/null
+++ b/var/spack/repos/builtin/packages/wsmancli/package.py
@@ -0,0 +1,27 @@
+# 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 Wsmancli(AutotoolsPackage):
+ """Openwsman command line client"""
+
+ homepage = "http://www.openwsman.org"
+ url = "https://github.com/Openwsman/wsmancli/archive/v2.6.0.tar.gz"
+
+ version('2.6.0', sha256='766fef60d4c627d8b6129b3c9ae97d8676442bc6110b3a723610c54894365e0d')
+ version('2.5.0', sha256='9e60e9b21d14328feadceeaf0c3c233d7ee701e7814010ede23367a9bd5efb33')
+ version('2.3.2', sha256='b5ffd4c4cdbcde7cf8cf84be3a3c1b92d84ffb8b492e6008a83e090c760d6c2d')
+
+ depends_on('autoconf', type='build')
+ depends_on('automake', type='build')
+ depends_on('libtool', type='build')
+ depends_on('m4', type='build')
+ depends_on('openwsman')
+
+ def autoreconf(self, spec, prefix):
+ bash = which('bash')
+ bash('./bootstrap')