Add crate for Ada Utility Library version 2.0.0

The library is split in several parts so that we can avoid
depending on LZMA, Curl and XML/Ada.  Still missing the HTTP
support with AWS.
This commit is contained in:
Stephane Carrez
2019-12-14 21:57:04 +01:00
committed by Alejandro R. Mosteo
parent 3feb297563
commit ec70837115
4 changed files with 119 additions and 0 deletions
+40
View File
@@ -0,0 +1,40 @@
[general]
description = "Ada Utility Library"
licenses = ["Apache 2.0"]
maintainers = ["Stephane.Carrez@gmail.com"]
maintainers-logins = ["stcarrez"]
project-files = [
"utilada_core.gpr",
"utilada_base.gpr",
"utilada_sys.gpr"
]
[general.gpr-externals]
UTIL_OS = ["win32", "win64", "linux32", "linux64", "macos64",
"netbsd32", "netbsd64", "freebsd32", "freebsd64"]
UTIL_LIBRARY_TYPE = ["relocatable", "static", "static-pic"]
BUILD = ["distrib", "debug", "optimize", "profile", "coverage"]
[general.gpr-set-externals]
BUILD = "distrib"
UTIL_LIBRARY_TYPE = "static"
[general.gpr-set-externals.'case(os)'.windows.'case(word_size)']
bits-64 = { UTIL_OS = "windows64" }
bits-32 = { UTIL_OS = "windows32" }
[general.gpr-set-externals.'case(os)'.linux.'case(word_size)']
bits-64 = { UTIL_OS = "linux64" }
bits-32 = { UTIL_OS = "linux32" }
[general.gpr-set-externals.'case(os)']
macos = { UTIL_OS = "macos64" }
[[general.actions]]
type = "post-fetch"
command = ["cp", ".alire/utilada_conf.gpr", "."]
['2.0.0']
origin = "git+https://github.com/stcarrez/ada-util.git@9254d4427f1b5498a1896ee146e3cca61a6913ee"
+23
View File
@@ -0,0 +1,23 @@
[general]
description = "Ada Utility Library (CURL)"
licenses = ["Apache 2.0"]
maintainers = ["Stephane.Carrez@gmail.com"]
maintainers-logins = ["stcarrez"]
project-files = [
"utilada_curl.gpr"
]
[general.gpr-externals]
UTIL_LIBRARY_TYPE = ["relocatable", "static", "static-pic"]
BUILD = ["distrib", "debug", "optimize", "profile", "coverage"]
[general.depends-on]
utilada = "^2.0.0"
[[general.actions]]
type = "post-fetch"
command = ["rm", "-f", "config.gpr", "utilada_core.gpr", "utilada_sys.gpr"]
['2.0.0']
origin = "git+https://github.com/stcarrez/ada-util.git@9254d4427f1b5498a1896ee146e3cca61a6913ee"
+29
View File
@@ -0,0 +1,29 @@
[general]
description = "Ada Utility Library (LZMA)"
licenses = ["Apache 2.0"]
maintainers = ["Stephane.Carrez@gmail.com"]
maintainers-logins = ["stcarrez"]
project-files = [
"utilada_lzma.gpr"
]
[general.gpr-externals]
UTIL_LIBRARY_TYPE = ["relocatable", "static", "static-pic"]
BUILD = ["distrib", "debug", "optimize", "profile", "coverage"]
[general.depends-on]
utilada = "^2.0.0"
[[general.actions]]
type = "post-fetch"
command = ["rm", "-f", "config.gpr", "utilada_core.gpr", "utilada_sys.gpr"]
[[general.actions]]
type = "post-fetch"
command = ["cp", ".alire/utilada_lzma.gpr", "."]
['2.0.0']
origin = "git+https://github.com/stcarrez/ada-util.git@9254d4427f1b5498a1896ee146e3cca61a6913ee"
+27
View File
@@ -0,0 +1,27 @@
[general]
description = "Ada Utility Library (XML)"
licenses = ["Apache 2.0"]
maintainers = ["Stephane.Carrez@gmail.com"]
maintainers-logins = ["stcarrez"]
project-files = [
"utilada_xml.gpr"
]
[general.gpr-externals]
UTIL_LIBRARY_TYPE = ["relocatable", "static", "static-pic"]
BUILD = ["distrib", "debug", "optimize", "profile", "coverage"]
[general.depends-on]
utilada = "^2.0.0"
[[general.actions]]
type = "post-fetch"
command = ["rm", "-f", "config.gpr", "utilada_core.gpr", "utilada_sys.gpr"]
[[general.actions]]
type = "post-fetch"
command = ["cp", ".alire/utilada_xml.gpr", "utilada_xml.gpr"]
['2.0.0']
origin = "git+https://github.com/stcarrez/ada-util.git@9254d4427f1b5498a1896ee146e3cca61a6913ee"