summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/editline/package.py
blob: 4d6f8024f6b51255c68125349305ecc60baa619b (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
# 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 Editline(AutotoolsPackage):
    """A readline() replacement for UNIX without termcap (ncurses)"""

    homepage = "https://troglobit.com/editline.html"
    url = "https://github.com/troglobit/editline/archive/1.16.0.tar.gz"

    license("Spencer-94")

    version("1.17.1", sha256="d65c5739c8ca388fa71feabc5aae506d052e1a6d288ee4e7fcab7efb07a3be74")
    version("1.16.0", sha256="33421a1569d025f332a87054bfea28e2c757bdb573f1437bc22c34b798b6383c")

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