+ ada_lua

This commit is contained in:
Alejandro R. Mosteo
2018-03-08 00:25:43 +01:00
parent 19f9e78114
commit 68e9182483
3 changed files with 54 additions and 2 deletions
+36
View File
@@ -0,0 +1,36 @@
with Alire.Index.Liblua;
package Alire.Index.Ada_Lua is
Prj_Name : constant Project_Name := "ada_lua";
Prj_Desc : constant Project_Description := "An Ada binding for Lua";
Prj_Repo : constant URL := "https://github.com/alire-project/ada-lua.git";
Prj_Maintainer : constant String := "AdaCore";
Prj_Website : constant URL := "https://github.com/AdaCore/ada-lua";
V_0_0_0 : constant Release :=
Register (Prj_Name,
V ("0.0.0-5.3"),
Prj_Desc,
Git (Prj_Repo, "ba2fcbf9f8d54d3f6362f20523deb4371371f658"),
Dependencies =>
Within_Major (Liblua.V_5_3),
Properties =>
Project_File ("lua.gpr") and
Executable ("main") and
Maintainer (Prj_Maintainer) and
Website (Prj_Website) and
License (GPL_3_0),
Private_Properties =>
GPR_File ("lua.gpr") and
GPR_File ("examples/example1/example1.gpr") and
GPR_File ("examples/example2/example2.gpr")
);
end Alire.Index.Ada_Lua;
+5 -2
View File
@@ -16,14 +16,17 @@ package Alire.Index.Template is
-- Prj_Desc,
-- Git (Prj_Repo, "commit"),
-- Properties =>
-- GPR_File ("") and
-- Project_File ("") and
--
-- Executable ("main") and
--
-- Author (Prj_Author) and
-- Maintainer (Prj_Maintainer) and
-- Website (Prj_Website) and
-- License (GMGPL_2_0)
-- License (GMGPL_2_0),
--
-- Private_Properties =>
-- GPR_File ("/")
-- );
end Alire.Index.Template;
+13
View File
@@ -0,0 +1,13 @@
package Alire.Index.Liblua is
Name : constant String := "liblua";
Desc : constant String := "Development files for the Lua language";
V_5_3 : constant Release :=
Register (Name,
V ("5.3"),
Desc,
Native ((Debian | Ubuntu => Packaged_As ("liblua5.3-dev"),
others => Unavailable)));
end Alire.Index.Liblua;