From cf12541281fe7a252c50483dde2caa2c532cb233 Mon Sep 17 00:00:00 2001 From: darmac Date: Tue, 21 Apr 2020 05:22:37 +0800 Subject: Add new package: byacc (#16123) * Add new package: byacc * refine byacc info --- var/spack/repos/builtin/packages/byacc/package.py | 24 +++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 var/spack/repos/builtin/packages/byacc/package.py (limited to 'var') diff --git a/var/spack/repos/builtin/packages/byacc/package.py b/var/spack/repos/builtin/packages/byacc/package.py new file mode 100644 index 0000000000..b555910c42 --- /dev/null +++ b/var/spack/repos/builtin/packages/byacc/package.py @@ -0,0 +1,24 @@ +# Copyright 2013-2020 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 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://github.com/grandseiken/byacc" + git = "https://github.com/grandseiken/byacc.git" + + version('master', branch='master') + + depends_on('m4', type='build') + depends_on('autoconf', type='build') + depends_on('automake', type='build') + depends_on('libtool', type='build') -- cgit v1.2.3-70-g09d2