summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHarmen Stoppels <harmenstoppels@gmail.com>2021-09-09 10:13:43 +0200
committerGitHub <noreply@github.com>2021-09-09 02:13:43 -0600
commitedb1d75b1bb7a9981851cf74b29b997a7c9ebcf0 (patch)
tree475b468244023a50ca26105b3bfccd8ac294f98d
parented9b38c8e3b22edb2413031bc8af4004b9e1ea3e (diff)
downloadspack-edb1d75b1bb7a9981851cf74b29b997a7c9ebcf0.tar.gz
spack-edb1d75b1bb7a9981851cf74b29b997a7c9ebcf0.tar.bz2
spack-edb1d75b1bb7a9981851cf74b29b997a7c9ebcf0.tar.xz
spack-edb1d75b1bb7a9981851cf74b29b997a7c9ebcf0.zip
Add new package gnuconfig (#25849)
-rw-r--r--var/spack/repos/builtin/packages/gnuconfig/package.py26
1 files changed, 26 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/gnuconfig/package.py b/var/spack/repos/builtin/packages/gnuconfig/package.py
new file mode 100644
index 0000000000..11569e6627
--- /dev/null
+++ b/var/spack/repos/builtin/packages/gnuconfig/package.py
@@ -0,0 +1,26 @@
+# Copyright 2013-2021 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 Gnuconfig(Package):
+ """
+ The GNU config.guess and config.sub scripts versioned by timestamp.
+ This package can be used as a build dependency for autotools packages that
+ ship a tarball with outdated config.guess and config.sub files.
+ """
+
+ homepage = "https://www.gnu.org/software/config/"
+ url = "https://github.com/haampie/config/archive/refs/tags/2021-08-14.tar.gz"
+
+ maintainers = ['haampie']
+
+ version('2021-08-14', sha256='1d1134f2f9d5f1342693793a536643c9aa11eaf672d1bf453ce2a415fdb8ebcc')
+
+ def install(self, spec, prefix):
+ with working_dir(self.stage.source_path):
+ install('config.sub', prefix)
+ install('config.guess', prefix)