diff options
author | charlie5 | 2015-07-26 02:12:15 +1000 |
---|---|---|
committer | charlie5 | 2015-07-26 02:12:15 +1000 |
commit | 26b864223c6845cb23f3635be6e2122c82efc52d (patch) | |
tree | 6834064bcca6b2823fc8ab389ff8afbec0e7a710 /generic_gpr.in | |
parent | 0c5fbc46821d5c04104c03878f0420b43d879826 (diff) | |
download | aur-26b864223c6845cb23f3635be6e2122c82efc52d.tar.gz |
Improved find command when installing.
Diffstat (limited to 'generic_gpr.in')
-rw-r--r-- | generic_gpr.in | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/generic_gpr.in b/generic_gpr.in new file mode 100644 index 000000000000..f3ed30face72 --- /dev/null +++ b/generic_gpr.in @@ -0,0 +1,19 @@ +with "xmlada_@DEPENDS@"; +project XmlAda_@ZONE@ is + for Library_Name use "xmlada_@ZONE@"; + Version := "@VERSION@"; + So_Ext := ".so"; + + type Xmlada_Kind_Type is ("static", "relocatable"); + Xmlada_Kind : Xmlada_Kind_Type := external ("LIBRARY_TYPE", "static"); + Libdir := "../../lib/xmlada/" & Xmlada_Kind; + + for Library_Kind use Xmlada_Kind; + for Library_Dir use Libdir; + for Library_Version use + "lib" & Project'Library_Name & So_Ext & "." & Version; + for Source_Dirs use ("../../include/xmlada"); + for Source_Files use ("@ZONE@.ads"@FILES@); + for Externally_Built use "true"; + +end XmlAda_@ZONE@; |