summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/help2man/package.py
blob: 527e2ce6d6cc6e33df855d3da904339daa401ca5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
# Copyright 2013-2019 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 Help2man(AutotoolsPackage):
    """help2man produces simple manual pages from the '--help' and '--version'
    output of other commands."""

    homepage = "https://www.gnu.org/software/help2man/"
    url      = "https://ftpmirror.gnu.org/help2man/help2man-1.47.4.tar.xz"

    version('1.47.8', sha256='528f6a81ad34cbc76aa7dce5a82f8b3d2078ef065271ab81fda033842018a8dc')
    version('1.47.4', '544aca496a7d89de3e5d99e56a2f03d3')

    depends_on('gettext', type='build')
    depends_on('perl', type=('build', 'run'))