summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/pinfo/package.py
blob: a4ada3a763a677e8211a957a19d81e788beafa5d (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# 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 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