summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/perl-alien-build/package.py
blob: 74799af883a283acacd5af6f39ec742c52214c4a (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
# Copyright 2013-2024 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.package import *


class PerlAlienBuild(PerlPackage):
    """This module provides tools for building external (non-CPAN) dependencies
    for CPAN. It is mainly designed to be used at install time of a CPAN
    client, and work closely with Alien::Base which is used at runtime."""

    homepage = "https://metacpan.org/pod/Alien::Build"
    url = "https://cpan.metacpan.org/authors/id/P/PL/PLICEASE/Alien-Build-1.86.tar.gz"

    license("GPL-1.0-or-later OR Artistic-1.0-Perl")

    version("2.78", sha256="9140671790a0696920b0a97acd812ab4d0b93ac69306d20679f027dd0c7caa27")
    version("1.86", sha256="f856a46aea72fe77daea5b1788b4ea0dc215f5704f5a35fa063171be8523e4e9")

    depends_on("perl-capture-tiny", type=("build", "run"))
    depends_on("perl-ffi-checklib", type=("build", "run"))
    depends_on("perl-file-which", type=("build", "run"))
    depends_on("perl-file-chdir", type=("build", "run"))
    depends_on("perl-path-tiny", type=("build", "run"))