diff options
author | darmac <xiaojun2@hisilicon.com> | 2020-03-20 11:35:59 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-19 22:35:59 -0500 |
commit | ce7cd7a5ab488abac41007eedb6d4d1550e9b258 (patch) | |
tree | e620725e3bafaf5764f99e450c019a69dd0fef77 | |
parent | b522296a5ab84adda4d20b1de1a3f50c3cae70ec (diff) | |
download | spack-ce7cd7a5ab488abac41007eedb6d4d1550e9b258.tar.gz spack-ce7cd7a5ab488abac41007eedb6d4d1550e9b258.tar.bz2 spack-ce7cd7a5ab488abac41007eedb6d4d1550e9b258.tar.xz spack-ce7cd7a5ab488abac41007eedb6d4d1550e9b258.zip |
add new package: libiscsi (#15579)
-rw-r--r-- | var/spack/repos/builtin/packages/libiscsi/package.py | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/libiscsi/package.py b/var/spack/repos/builtin/packages/libiscsi/package.py new file mode 100644 index 0000000000..621cc875d6 --- /dev/null +++ b/var/spack/repos/builtin/packages/libiscsi/package.py @@ -0,0 +1,28 @@ +# 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 Libiscsi(AutotoolsPackage): + """Libiscsi is a client-side library to implement the iSCSI protocol that can + be used to access the resources of an iSCSI target.""" + + homepage = "https://github.com/sahlberg/libiscsi" + url = "https://github.com/sahlberg/libiscsi/archive/1.19.0.tar.gz" + + version('1.19.0', sha256='c7848ac722c8361d5064654bc6e926c2be61ef11dd3875020a63931836d806df') + version('1.18.0', sha256='464d104e12533dc11f0dd7662cbc2f01c132f94aa4f5bd519e3413ef485830e8') + version('1.17.0', sha256='80a7f75bfaffc8bec9920ba7af3f1d14cd862c35c3c5f2c9617b45b975232112') + version('1.16.0', sha256='35c7be63a8c3a7cee7b697901b6d2dd464e098e1881671eb67462983053b3c7b') + version('1.15.0', sha256='489e625e58c1e6da2fa3536f9c4b12290f2d3fb4ce14edc0583b8ba500605c34') + + depends_on('autoconf', type='build') + depends_on('automake', type='build') + depends_on('libtool', type='build') + depends_on('m4', type='build') + + def autoreconf(self, spec, prefix): + autoreconf('--install', '--force') |