diff options
author | darmac <xiaojun2@hisilicon.com> | 2020-04-17 17:11:19 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-17 11:11:19 +0200 |
commit | 4c81efcf0bf3bc9582fcaf27eab3a136b2b6d9fb (patch) | |
tree | eb1523a450682d514f59e2472512e744cba8ca22 | |
parent | 330454acb0f9a3a33a44058fd02fbbb5f05dd177 (diff) | |
download | spack-4c81efcf0bf3bc9582fcaf27eab3a136b2b6d9fb.tar.gz spack-4c81efcf0bf3bc9582fcaf27eab3a136b2b6d9fb.tar.bz2 spack-4c81efcf0bf3bc9582fcaf27eab3a136b2b6d9fb.tar.xz spack-4c81efcf0bf3bc9582fcaf27eab3a136b2b6d9fb.zip |
open-iscsi: added new package at v2.1.1 (#16113)
-rw-r--r-- | var/spack/repos/builtin/packages/open-iscsi/package.py | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/open-iscsi/package.py b/var/spack/repos/builtin/packages/open-iscsi/package.py new file mode 100644 index 0000000000..73b792340f --- /dev/null +++ b/var/spack/repos/builtin/packages/open-iscsi/package.py @@ -0,0 +1,32 @@ +# 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 OpenIscsi(MakefilePackage): + """The Open-iSCSI project is a high-performance, transport independent, + multi-platform implementation of RFC3720 iSCSI.""" + + homepage = "https://github.com/open-iscsi/" + url = "https://github.com/open-iscsi/open-iscsi/archive/2.1.1.tar.gz" + + version('2.1.1', sha256='dfc1ea37f230f9d116f5b39c795b35be43002d65c81330ccd3878786532b811b') + version('2.1.0', sha256='5b381b6a74bef3ca57cd8d5fa7a3ff07d45c8009b0e4aac5ba3a811ff0c48ee4') + version('2.0.878', sha256='5aeef0069c4a9d7f288269bcf56588d09a3c529a35f865f16dd8119ab8672208') + version('2.0.877', sha256='69eb95b0c39dee2da9d0d751bfdcdb8d11f9d37390de15c1a0b4558f9d0c4a57') + version('2.0.876', sha256='9f01327d5e100ed794dc5083fc18dc4a06a0c29c77b252e21abd1b8f56edd9a7') + + depends_on('gettext') + depends_on('util-linux+libmount') + depends_on('kmod') + depends_on('open-isns') + depends_on('libtool', type='build') + + def setup_build_environment(self, env): + env.set('CFLAGS', '-DNO_SYSTEMD') + + def install(self, spec, prefix): + make('install', 'DESTDIR={0}'.format(prefix)) |