1 |
1 |
# Copyright 1999-2023 Gentoo Authors
|
2 |
2 |
# Distributed under the terms of the GNU General Public License v2
|
3 |
3 |
|
4 |
|
EAPI=7
|
|
4 |
EAPI=8
|
5 |
5 |
|
6 |
|
ADA_COMPAT=( gnat_2021 )
|
|
6 |
ADA_COMPAT=( gcc_12 )
|
7 |
7 |
inherit ada multiprocessing
|
8 |
8 |
|
9 |
9 |
DESCRIPTION="A complete Web development framework"
|
... | ... | |
15 |
15 |
|
16 |
16 |
LICENSE="GPL-3"
|
17 |
17 |
SLOT="0"
|
18 |
|
KEYWORDS="amd64 x86"
|
19 |
|
IUSE=""
|
|
18 |
KEYWORDS="~amd64 ~x86"
|
|
19 |
IUSE="+shared ssl wsdl"
|
20 |
20 |
|
21 |
|
RDEPEND="dev-ada/gnatcoll-core:=[${ADA_USEDEP},shared,static-libs]
|
22 |
|
dev-libs/openssl"
|
|
21 |
RDEPEND="dev-ada/gnatcoll-core:=[${ADA_USEDEP},shared?,static-libs]
|
|
22 |
dev-ada/libgpr:=[${ADA_USEDEP},shared?,static-libs]
|
|
23 |
dev-ada/xmlada:=[${ADA_USEDEP},shared?,static-libs]
|
|
24 |
wsdl? (
|
|
25 |
dev-ada/libadalang:=[${ADA_USEDEP},static-libs]
|
|
26 |
dev-ada/langkit:=[${ADA_USEDEP},static-libs]
|
|
27 |
dev-ada/gnatcoll-bindings:=[${ADA_USEDEP},gmp,iconv,static-libs]
|
|
28 |
dev-libs/gmp
|
|
29 |
)
|
|
30 |
ssl? ( dev-libs/openssl )"
|
23 |
31 |
DEPEND="${RDEPEND}
|
24 |
32 |
dev-ada/gprbuild[${ADA_USEDEP}]"
|
25 |
33 |
|
... | ... | |
37 |
45 |
}
|
38 |
46 |
|
39 |
47 |
src_configure() {
|
40 |
|
emake -j1 setup prefix=/usr ENABLE_SHARED=true \
|
41 |
|
ZLIB=true SOCKET=openssl \
|
42 |
|
GPRBUILD="/usr/bin/gprbuild -v"
|
|
48 |
emake -j1 setup prefix=/usr ZLIB=true XMLADA=true \
|
|
49 |
GPRBUILD="/usr/bin/gprbuild -v" \
|
|
50 |
ENABLE_SHARED=$(usex shared true false) \
|
|
51 |
SOCKET=$(usex ssl openssl std) \
|
|
52 |
LAL=$(usex wsdl true false) \
|
|
53 |
PROCESSORS=$(makeopts_jobs) \
|
|
54 |
SERVER_HTTP2=true \
|
|
55 |
CLIENT_HTTP2=true
|
43 |
56 |
}
|
44 |
57 |
|
45 |
58 |
src_compile() {
|
46 |
|
emake \
|
47 |
|
PROCESSORS=$(makeopts_jobs) ENABLE_SHARED=true \
|
48 |
|
GPRBUILD="/usr/bin/gprbuild -v"
|
|
59 |
emake GPRBUILD="/usr/bin/gprbuild -v"
|
49 |
60 |
}
|
50 |
61 |
|
51 |
62 |
src_install() {
|