summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/fcgi/package.py
blob: 0f1f88f8708f278c3a7aa41884fdb7905fdbb5a5 (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
29
30
31
# 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 Fcgi(AutotoolsPackage):
    """FastCGI is simple because it is actually CGI with only a few extensions.
    Like CGI, FastCGI is also language-independent. For instance, FastCGI
    provides a way to improve the performance of the thousands of Perl
    applications that have been written for the Web."""

    homepage = "https://fastcgi-archives.github.io/"
    url = "https://github.com/FastCGI-Archives/fcgi2/archive/refs/tags/2.4.2.tar.gz"

    depends_on("autoconf", type="build")
    depends_on("automake", type="build")
    depends_on("libtool", type="build")

    license("OML")

    version("2.4.2", sha256="1fe83501edfc3a7ec96bb1e69db3fd5ea1730135bd73ab152186fd0b437013bc")
    version(
        "2.4.1-SNAP-0910052249",
        sha256="829dc89a0a372c7b0b172303ec9b42e9d20615d6d0e9fc81570fdac6c41a0f30",
        url="https://github.com/FastCGI-Archives/FastCGI.com/raw/master/original_snapshot/fcgi-2.4.1-SNAP-0910052249.tar.gz",
    )

    parallel = False