name = "emacs_ada_mode"
description = "Parser for Emacs ada-mode"
tags = ["emacs", "ada-mode"]
version = "8.0.5"
licenses = "GPL-3.0-or-later"

authors = ["Stephen Leake"]
maintainers = ["Stephen Leake <stephen_leake@stephe-leake.org>"]
maintainers-logins = ["stephe-ada-guru"]

website = "https://www.nongnu.org/ada-mode/"

project-files = ["emacs_ada_mode.gpr"]

executables = ["ada_mode_wisi_lalr_parse",
               "ada_mode_wisi_lr1_parse"
              ]

[[actions]]
type = "pre-build"
command = ["make", "-f", "Alire.make", "ada_annex_p_re2c.c"]

[[depends-on]]
stephes_ada_library = "~3.7.2"
wisitoken = "~4.1.0"
emacs_wisi = "~4.2.0"

# Debian 11.2 Bullseye Dec 2022 has re2c 2.0.3
re2c = ">=2.0.3"

# We use Ada 2022 syntax, so need the -gnat2022 switch; introduced in gnat FSF 11, Community 2021. 
gnat = "(>=11 & <2000) | >=2021"


[origin]
commit = "ecfdcfb444abac24e989608701df7e105b84a683"
url = "git+https://git.savannah.nongnu.org/git/ada-mode.git"

