diff --git a/index/aw/aws/aws-25.0.0.toml b/index/aw/aws/aws-25.0.0.toml new file mode 100644 index 00000000..79d2983e --- /dev/null +++ b/index/aw/aws/aws-25.0.0.toml @@ -0,0 +1,60 @@ +description = "Ada Web Server" +website = "https://github.com/adacore/aws" +name = "aws" +version = "25.0.0" +authors = ["AdaCore"] +licenses = "GPL-3.0-only WITH GCC-exception-3.1" +maintainers = ["chouteau@adacore.com"] +maintainers-logins = ["Fabien-Chouteau"] +project-files = ["aws.gpr", "build/projects/aws_config.gpr"] +tags = ["aws", "web", "server", "http", "https", "soap", "wsdl", "ssl"] + +[gpr-externals] +TGT_DIR = "" +TARGET = "" +PRJ_TARGET = ["Windows_NT", "UNIX", "Darwin", "vxworks", "freebsd"] + +[gpr-set-externals."case(os)".linux] +PRJ_TARGET = "UNIX" +TGT_DIR = "../build" +TARGET = "build" + +[gpr-set-externals."case(os)".freebsd] +PRJ_TARGET = "freebsd" +TGT_DIR = "../build" +TARGET = "build" + +[gpr-set-externals."case(os)".windows] +PRJ_TARGET = "Windows_NT" +TGT_DIR = "../build" +TARGET = "build" + +[gpr-set-externals."case(os)".macos] +PRJ_TARGET = "Darwin" +TGT_DIR = "../build" +TARGET = "build" + +# Since the AWS project doesn't build alone with just gprbuild we build and +# install with the Makefile from post-fetch actions. +[[actions]] +type = "post-fetch" +command = ["sh", "-c", "mkdir -p `gcc -dumpmachine`/setup/src"] + +[[actions]] +type = "post-fetch" +command = ["sh", "-c", "make setup ZLIB=false DEMOS=false LAL=false XMLADA=true SOCKET=openssl prefix=install_dir PRJ_BUILD=Release"] + +[[actions]] +type = "post-fetch" +command = ["sh", "-c", "mv `gcc -dumpmachine`/ build/"] + +[[depends-on]] +xmlada = "~25.0.0" +gnatcoll = "~25.0.0" +make = "*" +gnat = ">=12" +openssl = ">=1.1.0" + +[origin] +url="https://github.com/AdaCore/aws/releases/download/v25.0.0/aws-25.0.0-with-templates-parser.zip" +hashes=['sha512:cf1dc186d2ca7545ae776332e3f03198e920e48dba974275b7c1161786a0af7de823cd2053aeda5ee31072f42db13494b69d51e9879298981fa2a2ae5c94aa38'] \ No newline at end of file