summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlfredo Tupone <tupone@gentoo.org>2023-12-15 23:31:32 +0100
committerAlfredo Tupone <tupone@gentoo.org>2023-12-15 23:32:09 +0100
commit422ad058aeef60acc98206d15c49dc9add00f1f1 (patch)
treee91a81defa8d66d91a8302a622ca21195c72cd63 /dev-ada
parentprofiles.desc: Add arm64 musl 23.0 profiles (commented out, need musl-1.2.4 s... (diff)
downloadgentoo-422ad058aeef60acc98206d15c49dc9add00f1f1.tar.gz
gentoo-422ad058aeef60acc98206d15c49dc9add00f1f1.tar.bz2
gentoo-422ad058aeef60acc98206d15c49dc9add00f1f1.zip
dev-ada/templates-parser: enable gcc:13
Signed-off-by: Alfredo Tupone <tupone@gentoo.org>
Diffstat (limited to 'dev-ada')
-rw-r--r--dev-ada/templates-parser/templates-parser-23.0.0-r2.ebuild45
1 files changed, 45 insertions, 0 deletions
diff --git a/dev-ada/templates-parser/templates-parser-23.0.0-r2.ebuild b/dev-ada/templates-parser/templates-parser-23.0.0-r2.ebuild
new file mode 100644
index 000000000000..14b56b18100f
--- /dev/null
+++ b/dev-ada/templates-parser/templates-parser-23.0.0-r2.ebuild
@@ -0,0 +1,45 @@
+# Copyright 2022-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+ADA_COMPAT=( gnat_2021 gcc_12 gcc_13 )
+inherit ada multiprocessing
+
+DESCRIPTION="A template engine"
+HOMEPAGE="https://github.com/AdaCore/templates-parser"
+SRC_URI="https://github.com/AdaCore/${PN}/archive/refs/tags/v${PV}.tar.gz
+ -> ${P}.tar.gz"
+
+LICENSE="GPL-3"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+RESTRICT="test"
+
+RDEPEND="${ADA_DEPS}
+ dev-ada/xmlada[${ADA_USEDEP},shared?,static-libs?]
+ shared? ( dev-ada/xmlada[static-pic] )"
+DEPEND="${RDEPEND}
+ dev-ada/gprbuild[${ADA_USEDEP}]"
+
+IUSE="+shared static-libs"
+REQUIRED_USE="|| ( shared static-libs )
+ ${ADA_REQUIRED_USE}"
+
+src_configure() {
+ emake PROCESSORS=$(makeopts_jobs) \
+ DEFAULT_LIBRARY_TYPE=$(usex shared relocatable static) \
+ ENABLE_STATIC=$(usex static-libs true false) \
+ ENABLE_SHARED=$(usex shared true false) \
+ prefix=/usr \
+ setup
+}
+
+src_compile() {
+ emake GPROPTS=-v
+}
+
+src_install() {
+ emake DESTDIR="${D}" -j1 install
+ einstalldocs
+}