forked from Lainports/freebsd-ports
These are bindings to a Lua library for Ada. The gpr file is written for the version of Lua that is default on the system that builds the port. (see Mk/bsd.default-versions.mk) There is no documentation available, but two examples with sources are built and installed for illustration.
16 lines
426 B
Text
16 lines
426 B
Text
library project Lua is
|
|
|
|
for Languages use ("Ada");
|
|
|
|
for Source_Dirs use ("../../include/lua-ada");
|
|
for Library_Dir use "../../lib/lua-ada";
|
|
for Library_Name use "adalua";
|
|
for Library_Kind use "static";
|
|
for Externally_Built use "True";
|
|
|
|
package Linker is
|
|
for Linker_Options use ("-L%%PREFIX%%/lib", "-Wl,-R,%%PREFIX%%/lib",
|
|
"-llua-%%LUA_VER%%);
|
|
end Linker;
|
|
|
|
end Lua;
|