Add Ada Database Objects 2.0.0 crates

- the 'ado' crate is the core library and does not contain any database driver
- the 'ado_postgresql' crate depends on 'ado' and is the PostgreSQL driver
- the 'ado_sqlite' crate depends on 'ado' and is the SQLite driver

There is missing the 'ado_mysql' crate because the library dependency
is tricky: we may need one of libmysqlclient or libmariadb libaries.
This commit is contained in:
Stephane Carrez
2019-12-14 22:18:14 +01:00
committed by Alejandro R. Mosteo
parent 19022f2ee5
commit 4f0a540ced
3 changed files with 87 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
[general]
description = "Ada Database Objects (Core library)"
licenses = ["Apache 2.0"]
maintainers = ["Stephane.Carrez@gmail.com"]
maintainers-logins = ["stcarrez"]
project-files = [
"ado.gpr"
]
[general.gpr-externals]
ADO_LIBRARY_TYPE = ["relocatable", "static", "static-pic"]
BUILD = ["distrib", "debug", "optimize", "profile", "coverage"]
[general.depends-on]
utilada = "^2.0.0"
utilada_xml = "^2.0.0"
[[general.actions]]
type = "post-fetch"
command = ["rm", "-f", "config.gpr"]
[[general.actions]]
type = "post-fetch"
command = ["cp", ".alire/ado.gpr", "ado.gpr"]
['2.0.0']
origin = "git+https://github.com/stcarrez/ada-ado.git@3de2eb8ba3dd1cfd765c6118bef50248f457afa1"
+29
View File
@@ -0,0 +1,29 @@
[general]
description = "Ada Database Objects (PostgreSQL)"
licenses = ["Apache 2.0"]
maintainers = ["Stephane.Carrez@gmail.com"]
maintainers-logins = ["stcarrez"]
project-files = [
"ado_postgresql.gpr"
]
[general.gpr-externals]
ADO_LIBRARY_TYPE = ["relocatable", "static", "static-pic"]
BUILD = ["distrib", "debug", "optimize", "profile", "coverage"]
[general.depends-on]
ado = "^2.0.0"
[[general.actions]]
type = "post-fetch"
command = ["rm", "-f", "config.gpr"]
[[general.actions]]
type = "post-fetch"
command = ["cp", ".alire/ado_postgresql.gpr", "ado_postgresql.gpr"]
['2.0.0']
origin = "git+https://github.com/stcarrez/ada-ado.git@3de2eb8ba3dd1cfd765c6118bef50248f457afa1"
+29
View File
@@ -0,0 +1,29 @@
[general]
description = "Ada Database Objects (SQLite)"
licenses = ["Apache 2.0"]
maintainers = ["Stephane.Carrez@gmail.com"]
maintainers-logins = ["stcarrez"]
project-files = [
"ado_sqlite.gpr"
]
[general.gpr-externals]
ADO_LIBRARY_TYPE = ["relocatable", "static", "static-pic"]
BUILD = ["distrib", "debug", "optimize", "profile", "coverage"]
[general.depends-on]
ado = "^2.0.0"
[[general.actions]]
type = "post-fetch"
command = ["rm", "-f", "config.gpr"]
[[general.actions]]
type = "post-fetch"
command = ["cp", ".alire/ado_sqlite.gpr", "ado_sqlite.gpr"]
['2.0.0']
origin = "git+https://github.com/stcarrez/ada-ado.git@3de2eb8ba3dd1cfd765c6118bef50248f457afa1"