summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordarmac <xiaojun2@hisilicon.com>2020-10-11 10:11:03 +0800
committerGitHub <noreply@github.com>2020-10-10 21:11:03 -0500
commitbe530949bb5d98aadddc521f228cf3d88c109488 (patch)
tree79ae434e2ad774e9eb8ee425c2ec0685de480e46
parent794f2c7510ad260dc08680e4d2201c3f8146a543 (diff)
downloadspack-be530949bb5d98aadddc521f228cf3d88c109488.tar.gz
spack-be530949bb5d98aadddc521f228cf3d88c109488.tar.bz2
spack-be530949bb5d98aadddc521f228cf3d88c109488.tar.xz
spack-be530949bb5d98aadddc521f228cf3d88c109488.zip
Add new package: pinfo (#18806)
-rw-r--r--var/spack/repos/builtin/packages/pinfo/package.py28
1 files changed, 28 insertions, 0 deletions
diff --git a/var/spack/repos/builtin/packages/pinfo/package.py b/var/spack/repos/builtin/packages/pinfo/package.py
new file mode 100644
index 0000000000..698897949f
--- /dev/null
+++ b/var/spack/repos/builtin/packages/pinfo/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 Pinfo(AutotoolsPackage):
+ """Pinfo is user-friendly, console-based viewer for Info documents."""
+
+ homepage = "https://github.com/baszoetekouw/pinfo"
+ url = "https://github.com/baszoetekouw/pinfo/archive/v0.6.13.tar.gz"
+
+ version('0.6.13', sha256='9dc5e848a7a86cb665a885bc5f0fdf6d09ad60e814d75e78019ae3accb42c217')
+ version('0.6.12', sha256='82af48ba23b8c26b1f4e67b45f718142eb0f760326b782f80c765801d3532077')
+ version('0.6.11', sha256='fd26017ac9db179d709b49e450c3097e7d6f99cd94de7b5da824ec757c6992b2')
+
+ depends_on('autoconf', type='build')
+ depends_on('automake', type='build')
+ depends_on('libtool', type='build')
+ depends_on('m4', type='build')
+ depends_on('gettext', type='build')
+ depends_on('texinfo', type='build')
+
+ def configure_args(self):
+ args = ['CFLAGS=-Wno-unused-parameter']
+ return args