indexed unixodbc + dak_odbc

This commit is contained in:
alex@thor
2018-03-04 03:33:57 +01:00
parent 28715c4c3b
commit fc62b8323a
2 changed files with 49 additions and 0 deletions
+34
View File
@@ -1,4 +1,5 @@
with Alire.Index.LibGNUTLS;
with Alire.Index.UnixODBC;
package Alire.Index.DAK is
@@ -229,4 +230,37 @@ package Alire.Index.DAK is
Website (DAK_Website)
);
Components_ODBC_V_4_27 : constant Release :=
Register (Base & "components_odbc",
V ("4.27"),
Desc_Pre & "(ODBC bindings)" & Desc_Post,
Git (Repo, "47337f8a5dd69404087129d5cca79885d6e8cd3f"),
Dependencies =>
Within_Major (Components_V_4_27) and
Current (UnixODBC.V_2_3),
Properties =>
GPR_File ("components-odbc.gpr") and
GPR_File ("test_components" / "components-odbc-odbc_bindings_tests.gpr") and
If_Platform
(System_Is (GNU_Linux),
GPR_Extra_Config ("-Xodbc=unixODBC")) and
If_Platform
(System_Is (Windows),
GPR_Extra_Config ("-Xodbc=ODBC32")) and
If_Platform
(Word_Size_Is (Bits_32),
GPR_Extra_Config ("-Xarch=i686")) and
If_Platform
(Word_Size_Is (Bits_64),
GPR_Extra_Config ("-Xarch=x86_64")) and
Executable ("test_odbc_bindings") and
License (GMGPL_2_0) and
Author (DAK_Author) and
Website (DAK_Website)
);
end Alire.Index.DAK;
+15
View File
@@ -0,0 +1,15 @@
package Alire.Index.UnixODBC is
Name : constant String := "unixodbc";
Desc : constant String := "Open Database Connectivity drivers";
V_2_3 : constant Release :=
Register (Name,
V ("2.3"),
Desc,
Native ((Debian | Ubuntu => Packaged_As ("unixodbc-dev"),
others => Unavailable)),
Properties =>
Website ("www.unixodbc.org"));
end Alire.Index.UnixODBC;