Externally detected tool by version output

Modified: gnat, make
This commit is contained in:
Alejandro R. Mosteo
2019-12-28 01:19:19 +01:00
parent a14e0cf7cc
commit 6eaeef1578
2 changed files with 8 additions and 13 deletions
+4 -8
View File
@@ -4,11 +4,7 @@ licenses = []
maintainers = ["alejandro@mosteo.com"]
maintainers-logins = ["mosteo"]
# Until we rework the native package situation, the intention here is to
# depend on the native compiler, and not in a particular version. Hence,
# although versions do not match here, we get the intended result.
[0]
[0.origin.'case(distribution)']
'debian|ubuntu' = "native:gnat"
'...' = ""
[[external]]
kind = "output-version"
version-command = [ "gnat", "--version" ]
version-regexp = "^GNAT ([\\d\\.]+).*|^GNAT Community ([\\d]{4}).*"
+4 -5
View File
@@ -4,8 +4,7 @@ maintainers = ["alejandro@mosteo.com"]
maintainers-logins = ["mosteo"]
licenses = []
[0]
origin = "native:make"
# [0.origin.'case(distribution)']
# 'debian|ubuntu' = "native:make"
# '...' = ""
[[external]]
kind = "output-version"
version-command = [ "make", "--version" ]
version-regexp = ".*Make ([\\d\\.]+).*"