name = "emacs_ada_mode"
description = "Parser for Emacs ada-mode"
tags = ["emacs", "ada-mode"]
version = "8.0.3"
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"
re2c = ">=2.2"

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


[origin]
hashes = [
"sha256:ab552d7be9aa2439cf462567f17bd9e9eb1bf857024816664a20fc1242a70218",
"sha512:90f0cf31c30031903e7046919332f99deb53d5579bd6cf9d115ce8fdc0a22e2f92581132526c587837d77a89a6bed571f4db4060b04d4b1c0c88b9e65ebf188e",
]
url = "https://download.savannah.nongnu.org/releases/ada-mode/emacs_ada_mode-8.0.3.tgz"

