diff options
Diffstat (limited to 'dev-ada')
-rw-r--r-- | dev-ada/templates-parser/Manifest | 1 | ||||
-rw-r--r-- | dev-ada/templates-parser/templates-parser-24.0.0.ebuild | 45 |
2 files changed, 46 insertions, 0 deletions
diff --git a/dev-ada/templates-parser/Manifest b/dev-ada/templates-parser/Manifest index edcb095b1c28..6c5b6f38bf98 100644 --- a/dev-ada/templates-parser/Manifest +++ b/dev-ada/templates-parser/Manifest @@ -1 +1,2 @@ DIST templates-parser-23.0.0.tar.gz 225459 BLAKE2B 0971030e3079ff93b876bcb51925208eeee63837878a24589700dc9e0c025272e2d7920f82ee9b769c04857e4701d3eed629a1ac1f0979714c47fc132a188bed SHA512 c0a94b42391c61b4251cbbe86f91c506f46f6eed5be3779385bf199cf43281b704c68fd078b8b917948675976538168c1ac4c1f3b757f6db9988a45af7bfc4a5 +DIST templates-parser-24.0.0.tar.gz 226649 BLAKE2B 6e84721cbe28164e9c5f683906ff0b360a7dca82a2b91a7fe0253546c6d617d82ff2bb385133435e48c1588821daa3171eee86aeb0de27a55f38cad372f858db SHA512 3661ccb4be3bc3a6a81bbf04244f3b943c87655cad25370e857bb09d24b86ee801388a4a71d63f9135d5f069c54bc184cef4a8a25bcc90d0add8a15c67f8c374 diff --git a/dev-ada/templates-parser/templates-parser-24.0.0.ebuild b/dev-ada/templates-parser/templates-parser-24.0.0.ebuild new file mode 100644 index 000000000000..8b0a54559ad5 --- /dev/null +++ b/dev-ada/templates-parser/templates-parser-24.0.0.ebuild @@ -0,0 +1,45 @@ +# Copyright 2022-2024 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 -j1 GPROPTS=-v +} + +src_install() { + emake DESTDIR="${D}" -j1 install + einstalldocs +} |