2019-01-01 14:04:23 +08:00
|
|
|
# Copyright 2013-2019 Lawrence Livermore National Security, LLC and other
|
2018-10-08 04:52:23 +08:00
|
|
|
# Spack Project Developers. See the top-level COPYRIGHT file for details.
|
2017-04-15 02:13:15 +08:00
|
|
|
#
|
2018-10-08 04:52:23 +08:00
|
|
|
# SPDX-License-Identifier: (Apache-2.0 OR MIT)
|
|
|
|
|
2017-04-15 02:13:15 +08:00
|
|
|
|
|
|
|
from spack import *
|
|
|
|
|
|
|
|
|
|
|
|
# package has a Makefile, but only to build examples
|
2017-06-28 23:13:49 +08:00
|
|
|
class Pegtl(CMakePackage):
|
2017-04-15 02:13:15 +08:00
|
|
|
"""The Parsing Expression Grammar Template Library (PEGTL) is a
|
|
|
|
zero-dependency C++11 header-only library for creating parsers
|
|
|
|
according to a Parsing Expression Grammar (PEG).
|
|
|
|
"""
|
|
|
|
|
|
|
|
homepage = "https://github.com/taocpp/PEGTL"
|
2018-07-25 10:56:56 +08:00
|
|
|
url = "https://github.com/taocpp/PEGTL/tarball/2.1.4"
|
2018-07-24 09:55:17 +08:00
|
|
|
git = "https://github.com/taocpp/PEGTL.git"
|
2017-04-15 02:13:15 +08:00
|
|
|
|
2018-07-24 09:55:17 +08:00
|
|
|
version('develop', branch='master')
|
2017-06-28 23:13:49 +08:00
|
|
|
version('2.1.4', 'e5288b6968e6e910287fce93dc5557bf')
|
|
|
|
version('2.0.0', 'c772828e7188459338a920c21f9896db')
|