summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordarmac <xiaojun2@hisilicon.com>2020-09-24 09:45:22 +0800
committerGitHub <noreply@github.com>2020-09-23 20:45:22 -0500
commitf2093dc3c47623ff7a2e8d1e7a406b423ed55cbf (patch)
treecae880ded11fddb3ed75e5cf1a3c1ff8a367bd60
parent8ae3ccdea4605fe8f859b5db50f42f596966268c (diff)
downloadspack-f2093dc3c47623ff7a2e8d1e7a406b423ed55cbf.tar.gz
spack-f2093dc3c47623ff7a2e8d1e7a406b423ed55cbf.tar.bz2
spack-f2093dc3c47623ff7a2e8d1e7a406b423ed55cbf.tar.xz
spack-f2093dc3c47623ff7a2e8d1e7a406b423ed55cbf.zip
Add new package: libtar (#18781)
-rw-r--r--var/spack/repos/builtin/packages/libtar/package.py23
1 files changed, 23 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/libtar/package.py b/var/spack/repos/builtin/packages/libtar/package.py
new file mode 100644
index 0000000000..0d0b719ba8
--- /dev/null
+++ b/var/spack/repos/builtin/packages/libtar/package.py
@@ -0,0 +1,23 @@
+# 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 Libtar(AutotoolsPackage):
+ """libtar is a library for manipulating tar files from within C
+ programs."""
+
+ homepage = "https://repo.or.cz/libtar.git"
+ url = "https://github.com/tklauser/libtar/archive/v1.2.20.tar.gz"
+
+ version('1.2.20', sha256='3152fc61cf03c82efbf99645596efdadba297eac3e85a52ae189902a072c9a16')
+ version('1.2.19', sha256='5fea7152106b1b8cda109da27f505439865dd196da94f503fab18264591ddf64')
+ version('1.2.18', sha256='a5ac82dae9677b5b74333ed63043b9699c7ef561e2eacf301188c277952d4b7d')
+
+ depends_on('autoconf', type='build')
+ depends_on('automake', type='build')
+ depends_on('libtool', type='build')
+ depends_on('m4', type='build')