From ec70837115a539a430b6aa525f8c93be8ff0615a Mon Sep 17 00:00:00 2001 From: Stephane Carrez Date: Sat, 14 Dec 2019 21:57:04 +0100 Subject: [PATCH] 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. --- index/ut/utilada.toml | 40 ++++++++++++++++++++++++++++++++++++++ index/ut/utilada_curl.toml | 23 ++++++++++++++++++++++ index/ut/utilada_lzma.toml | 29 +++++++++++++++++++++++++++ index/ut/utilada_xml.toml | 27 +++++++++++++++++++++++++ 4 files changed, 119 insertions(+) create mode 100644 index/ut/utilada.toml create mode 100644 index/ut/utilada_curl.toml create mode 100644 index/ut/utilada_lzma.toml create mode 100644 index/ut/utilada_xml.toml diff --git a/index/ut/utilada.toml b/index/ut/utilada.toml new file mode 100644 index 00000000..6c31c05e --- /dev/null +++ b/index/ut/utilada.toml @@ -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" + diff --git a/index/ut/utilada_curl.toml b/index/ut/utilada_curl.toml new file mode 100644 index 00000000..2cedb4cd --- /dev/null +++ b/index/ut/utilada_curl.toml @@ -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" diff --git a/index/ut/utilada_lzma.toml b/index/ut/utilada_lzma.toml new file mode 100644 index 00000000..b5fc332d --- /dev/null +++ b/index/ut/utilada_lzma.toml @@ -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" + + diff --git a/index/ut/utilada_xml.toml b/index/ut/utilada_xml.toml new file mode 100644 index 00000000..3142ffe7 --- /dev/null +++ b/index/ut/utilada_xml.toml @@ -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"