From e16593e551b2373aac8412c87337f982ee8f425b Mon Sep 17 00:00:00 2001 From: darmac Date: Wed, 8 Apr 2020 11:27:04 +0800 Subject: [PATCH] Add new package: open-isns (#15914) * Add new package: open-isns * refine args --- .../builtin/packages/open-isns/package.py | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 var/spack/repos/builtin/packages/open-isns/package.py diff --git a/var/spack/repos/builtin/packages/open-isns/package.py b/var/spack/repos/builtin/packages/open-isns/package.py new file mode 100644 index 0000000000..220db25ce0 --- /dev/null +++ b/var/spack/repos/builtin/packages/open-isns/package.py @@ -0,0 +1,29 @@ +# 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 OpenIsns(AutotoolsPackage): + """This is the iSNS server, supporting persistent storage + of registrations in a file based database.""" + + homepage = "https://github.com/open-iscsi/open-isns" + url = "https://github.com/open-iscsi/open-isns/archive/v0.100.tar.gz" + + version('0.100', sha256='b011edbb0f31690aaca902a8ecf4e1f17b01d6c9e9afc51909d26b0993b4328f') + version('0.99', sha256='a8febecf888d5a38abfa2fcb290194d993b1a7f5bea0cb61f5cf2e9f9e5273c2') + version('0.98', sha256='c5cbd161e51fb993728c04e56d3da693b73eb3f4e81d17f66eb5b7653c29e8eb') + version('0.97', sha256='c1c9ae740172e55a1ff33bc22151ec3d916562bf5d60c8420cd64496343683a9') + version('0.96', sha256='487fd0d87826423ea99dc159826d0b654a5da016ed670d4395a77bfa4f62e2ec') + + def configure_args(self): + args = ['--enable-shared'] + return args + + def install(self, spec, prefix): + make('install') + make('install_hdrs') + make('install_lib')