summaryrefslogtreecommitdiff
path: root/var
diff options
context:
space:
mode:
authordarmac <xiaojun2@hisilicon.com>2020-09-24 09:01:50 +0800
committerGitHub <noreply@github.com>2020-09-23 20:01:50 -0500
commit5cf8fd4cb3d4388b4f1899d2a849cfb6d39b4d28 (patch)
tree67e6669f1ccae11edb0a4625ade121a3eb9b4127 /var
parentd796566605a3674ce0498fe3a3b5524010422be8 (diff)
downloadspack-5cf8fd4cb3d4388b4f1899d2a849cfb6d39b4d28.tar.gz
spack-5cf8fd4cb3d4388b4f1899d2a849cfb6d39b4d28.tar.bz2
spack-5cf8fd4cb3d4388b4f1899d2a849cfb6d39b4d28.tar.xz
spack-5cf8fd4cb3d4388b4f1899d2a849cfb6d39b4d28.zip
Add new package: libmetalink (#18834)
Diffstat (limited to 'var')
-rw-r--r--var/spack/repos/builtin/packages/libmetalink/package.py27
1 files changed, 27 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/libmetalink/package.py b/var/spack/repos/builtin/packages/libmetalink/package.py
new file mode 100644
index 0000000000..14c8ea8a11
--- /dev/null
+++ b/var/spack/repos/builtin/packages/libmetalink/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 Libmetalink(AutotoolsPackage):
+ """Libmetalink is a library to read Metalink XML download description
+ format. It supports both Metalink version 3 and Metalink version 4
+ (RFC 5854)."""
+
+ homepage = "https://launchpad.net/libmetalink"
+ url = "https://github.com/metalink-dev/libmetalink/archive/release-0.1.3.tar.gz"
+
+ version('0.1.3', sha256='7469c4a64b9dd78c3f23fa575fe001bbfd548c181492a2067b59609872122d7a')
+ version('0.1.2', sha256='64af0979c11658f7a1659ca97ebc3c7bac8104253bf504015ac3b9c363382bae')
+ version('0.1.1', sha256='e9b8dff68b0b999884c21f68d9b1cc0c1993270e3e1f639f82e27b1eb960cb66')
+
+ depends_on('autoconf', type='build')
+ depends_on('automake', type='build')
+ depends_on('libtool', type='build')
+ depends_on('m4', type='build')
+ depends_on('pkgconfig', type='build')
+ depends_on('expat@2.1.0:')
+ depends_on('libxml2@2.7.8:')