blob: 3499a9db6d101634f0189317cc88f91dfe776fca (
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
|
# 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 Byacc(AutotoolsPackage):
"""Berkeley Yacc is an LALR(1) parser generator. Berkeley Yacc has
been made as compatible as possible with AT&T Yacc. Berkeley Yacc
can accept any input specification that conforms to the AT&T Yacc
documentation. Specifications that take advantage of undocumented
features of AT&T Yacc will probably be rejected."""
homepage = "https://invisible-island.net/byacc/byacc.html"
url = "ftp://ftp.invisible-island.net/pub/byacc/byacc-20210808.tgz"
license("Public-Domain")
# Check FTP directory ftp://ftp.invisible-island.net/byacc/ to find the latest version
version("20210808", sha256="f158529be9d0594263c7f11a87616a49ea23e55ac63691252a2304fbbc7d3a83")
provides("yacc")
depends_on("m4", type="build")
depends_on("autoconf", type="build")
depends_on("automake", type="build")
depends_on("libtool", type="build")
|