From d17fad940dac9897b8b58d2f1d072869942696a5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 16 Dec 2023 02:52:59 +0000 Subject: gentoo auto-resync : 16:12:2023 - 02:52:59 --- dev-ada/templates-parser/Manifest | 1 + .../templates-parser-23.0.0-r2.ebuild | 45 ++++++++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 dev-ada/templates-parser/templates-parser-23.0.0-r2.ebuild (limited to 'dev-ada/templates-parser') diff --git a/dev-ada/templates-parser/Manifest b/dev-ada/templates-parser/Manifest index 7cb761819e57..1655fce490c3 100644 --- a/dev-ada/templates-parser/Manifest +++ b/dev-ada/templates-parser/Manifest @@ -1,3 +1,4 @@ DIST templates-parser-23.0.0.tar.gz 225459 BLAKE2B 0971030e3079ff93b876bcb51925208eeee63837878a24589700dc9e0c025272e2d7920f82ee9b769c04857e4701d3eed629a1ac1f0979714c47fc132a188bed SHA512 c0a94b42391c61b4251cbbe86f91c506f46f6eed5be3779385bf199cf43281b704c68fd078b8b917948675976538168c1ac4c1f3b757f6db9988a45af7bfc4a5 EBUILD templates-parser-23.0.0-r1.ebuild 1011 BLAKE2B 80d844a130824bf418ae0568d54cccec8f6a4a6b2dc2e3c497cf753b9c416f0f01ae62c613df52a0ca75ecd48519540a72f63d47d251a2564cc240314a92c4d6 SHA512 30171bfdd11bc0a61d86246e10f77082e8420c733c75cf8a42f1679b3438898d7db335e490eb83ab1a685062df85374ed7ca5eda1f151e345a3502309b5a4ac4 +EBUILD templates-parser-23.0.0-r2.ebuild 1020 BLAKE2B 0a0591447dc9b5633c577ea251960016414a71c58511b4656b54ac7323e70b5e0a54ab9c1e29e213a3d6076cfd89252fde962139ecf6a393728ec34b9ad2a867 SHA512 35b2cc3722ecf196e2cb0e3ce7db2337215625ef266fda3a1aba0fa4d455b1fdc3bc0f99779aa20764f1fe6f7d0cd8f8f9b9d6c8c232901356b562efe320a459 MISC metadata.xml 370 BLAKE2B 69c033fb988741a15510bfa2550038d9618b0d062e289f529c60c513cc9e63d0cd721a1f48212602f90be74e2f08e806bf0a6745b2488cfd6dde600a10eaaca6 SHA512 5ecbbb2c164d96711c20aa96dfbec89c17516406a649e8d1afa68455e262800f43b3f3697d9715a371027a850e821fcf80deb4c3f64ae0ece72a20edb1577767 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 +} -- cgit v1.2.3